I'm trying to create an authentication system using appwrite. But when post data from my signup page it should add the newly created user to the corresponding collections. But unfortunately no data is being saved to my user collection. The appwrite config file's code is given below and also an additional code of function "submit" is given which triggers my application to post data to collection and proceed to next window.
Do you get some errors? What about permissions, are they set?
These are the permissions
these are the errors
That seems to be fine
Then that's the issue
Downgrade the SDK 1 major version
how can I do that?
You're using react Native?
yes
Then change the version of the package to 0.4.0. I think it can be done by either uninstalling the current one and installing the mentioned version or by modifying the package.json file
are you talking about this?
Recommended threads
- Empty listRows() response
Hi there, I'm shehryar, I'm new to react native and appwrite as well, I'm following a tutorial, what's surprising is the listRows({databaseId, tableId, queries}...
- How to get current user account session ...
i am using sveltekit and i'm a bit unclear on how to get the current user's session from the server side. thisi s what i have so far // src/lib/server/appwrite...
- Current User Is Not Authorized To Perfor...
I keep getting an error saying the current user is not authorized to perform the requested action, when I'm trying to create a row a table. Permissions have bee...