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
- Possible FRA servers down
Is it possible that the Frankfurt servers are currently down? There is no way to fetch any data. Given the few reports already in the <#564160731327758346> chat...
- Appwrite DNS nameservers return SERVFAIL...
My custom domain demomanasa.online (and all its subdomains) stopped resolving with ERR_NAME_NOT_RESOLVED for all visitors. I have traced the failure to Appwrite...
- Compatibility issue with Kakao OpenID Co...
**Context:** I am attempting to integrate **Kakao Login** (one of the largest social login providers in South Korea) into my Flutter application using Appwrite'...