Avidev-creatorOriginal post
Web Developer
I am getting this error and not able to resolve it.
The error is comming from this --
async getCurrentUser() {
try {
return this.account.get();
} catch (error) {
throw error;
}
}
Summary
Developers are facing a 401 Unauthorized error at line 42 in auth.js while trying to get the current user. The issue seems to be related to authentication. Double-check API key and endpoint URL for any mistakes.