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
- Project Inactivity Clarification
I'm on appwrite free plan with my account (om.thakkar@ivcventure.com). Even though throughout the week we use the project atleast once to upload dynamic content...
- Retrieving Data From Backups
Hiya, I have a user requesting for data they accidentally deleted. I don't have document history built into my app. Is there a way to extract data from the auto...
- [ENHANCEMENT] Use the custom Next.js dep...
Deployment adapters on Next.js are now stable! This means that we don't have to stick to the limitations of sniffing out build outputs and manually moving or mo...