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
- Different appwrite IDs are getting expos...
File_URL_FORMAT= https://cloud.appwrite.io/v1/storage/buckets/[BUCKET_ID]/files/[FILE_ID]/preview?project=[PROJECT_ID] I'm trying to access files in my web app...
- Invalid document structure: missing requ...
I just pick up my code that's working a week ago, and now I got this error: ``` code: 400, type: 'document_invalid_structure', response: { message: 'Inv...
- custom domain with CloudFlare
Hi all, it seems that CloudFlare has blocked cross-domain CNAME link which made my app hostname which is in CloudFlare, unable to create a CNAME pointing to clo...