Error creating storage: AppwriteException: User (role: guests) missing scope (buckets.write)
- 1
- Web
Error creating storage: AppwriteException: User (role: guests) missing scope (buckets.write) at async getOrCreateStorage (src\models\server\storageSetup.ts:11:12) at async middleware (src\middleware.ts:10:2) 9 | } catch (error) { 10 | try {
11 | await storage.createBucket( | ^ 12 | questionAttachmentBucket, 13 | questionAttachmentBucket, 14 | [ { code: 401, type: 'general_unauthorized_scope', response: { message: 'User (role: guests) missing scope (buckets.write)', code: 401, type: 'general_unauthorized_scope', version: '1.6.1' } } Error creating databases or collection AppwriteException: User (role: guests) missing scope (databases.write) at async getOrCreateDB (src\models\server\dbSetup.ts:15:6) at async middleware (src\middleware.ts:10:2) 13 | } catch (error) { 14 | try { 15 | await databases.create(db, db) | ^ 16 | console.log("database created") 17 | //create collections 18 | await Promise.all([ { code: 401, type: 'general_unauthorized_scope', response: { message: 'User (role: guests) missing scope (databases.write)', code: 401, type: 'general_unauthorized_scope', version: '1.6.1' } }
Recommended threads
- How can I disable client-side account re...
Hi everyone! I’m currently building a game backend using Appwrite, and I’d like to prevent users from creating new accounts directly through the client. My go...
- relationships bug or error idk
hey every one, am using am using appwrite on a project and ran into a problem where by created a relationship and two way to be specific and it is stuck on proc...
- Domain is owned by a different organizat...
Hi Appwrite team, I'm trying to add my custom domain **futlive9.com** to my project, but I'm getting the error: "Domain is owned by a different organization." ...