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
- Problem with Google Workspace at DNS Rec...
Hello, I bought a domain at Namecheap, and Google Workspace used to work there, but now that I switched from Custom DNS to Appwrite's nameservers, it doesn't w...
- change role of a team member in Appwrite
It's not possible to add/change roles of a team meber in Appwrite Frontend. When you click on a member of a team you get forwarded to the configuration page of ...
- Session not found. Please run appwrite l...
I have encounter an issue with appwrite CLI They asking for a login session but in the doc, it’s mention that only setup client with endpoint / api key is enou...