#[SOLVED] : Wierd Error during user account creation

13 messages · Page 1 of 1 (latest)

simple geyser
#

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

dull belfry
simple geyser
dull belfry
simple geyser
#

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

dull belfry
#

The server error is because you're missing read access to some related document

simple geyser
#

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

simple geyser
#

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 ?

dull belfry
simple geyser
#

ok thanks steve