#Error: AppwriteException: User (role: guests) missing scope (account)

6 messages · Page 1 of 1 (latest)

restive sonnet
versed cape
#

It's usually thrown when the user is not logged in correctly

restive sonnet
#

I'm getting this error while registering.

dull python
# restive sonnet

As far as I'm aware, calling account.create() does not create a session - you have to do that yourself.

For example:

  const register = async () => {
    await account.create("unique()", email, password, name);
    await account.createEmailPasswordSession(email, password);
    console.log(await account.get());
  }