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
- Any way to temporarily bypass the email ...
Hey guys, any way to bypass the email verification to use the accounts again? i need to recover some projects that due to recent changes have been stopped, and ...
- Collections list not showing up when try...
I'm trying to create new relationship attribute but both one way and two way relationship is not showing up collections list to connect with my relationship att...
- I have try to use the appwrite in to the...
Invalid Origin. Register your new client (oailedjdbkhlkakmnnapoonllbnfmfij) as a new Web (Chrome Extension) platform on your project console dashboard