Hey. I am trying to create a document in a DB in a Next.js project. My app doesn't have any authentication. I am getting 401 unauthorized error while creating a document. Can someone help me with this?
Have you given All permissions on the Collection?
Hey @ideclon , I couldn't find the settings in teh UI to give modify permisson of collection. Could you please guide me?
Sure. Go into the Collection, then select the Settings tab. Permissions is the fourth card down.
It's right in front of my eyes and I had to spend so much effort to find it. Thank you @ideclon π
No problem! If your issue has been solved, you can mark this post as closed by adding β[SOLVED]β to the beginning of the title
[SOLVED] Unauthorized to create a document in a database
done!
Recommended threads
- Type Mismatch in AppwriteException
There is a discrepancy in the TypeScript type definitions for AppwriteException. The response property is defined as a string in the type definitions, but in pr...
- What Query's are valid for GetDocument?
Documentation shows that Queries are valid here, but doesn't explain which queries are valid. At first I presumed this to be a bug, but before creating a githu...
- Custom emails
What happen if I use a third party email provider to customize my emails and my plan run out of emails/month? Appwrite emails are used as fallback sending emai...