so im working with typescript and react with appwrite to create a social media app but i keep encounteing these two errors when creating the auth part for creating new users and adding them to the users collection When i reload the page before filling the form : AppwriteException: User (role: guests) missing scope (account) when i fill the sign up form and click on sign-up : AppwriteException: Server Error
Would appreciate any help as this is my end of studies project
If you call account.get() without a session, you'll get that error. It's expected.
The server error is probably due to something you're passing. What's your project id?
Copy and paste here please
my bad , the project id is 65a003e0932f8903a34f
please note that despite these two errors , when i check the user collection in the console , i find the user is indeed added there
The server error is because you're missing read access to some related document
i didnt understand , can i fix this from the console or my code ? because i know i gave all the permissions to the users collection
And to everything related too?
i just added full permissions to the comments collection related to the users collection and it seems to have fixed the issue
how can i fix the missing scope error tho ? as it is expected and im still working through the signup only , shall i ignore it ?
Recommended threads
- TEAM INVITE
There is a problem with the team invitation. When a user invites other users, that time, the newly created email address they don't get the invite link and old ...
- education plan not activated
Hi I have an edu id 13103046@iubat.edu but when I am trying to claim my plan and trying to logging with github where education student plan active. the appwrite...
- I'm getting an error on the console "j?....
On my self hosted instance version 1.8.1 the console is giving me this error when trying to view the rows for a table I recently created. My application is read...