Skip to content
Back

Missing scope // Null property

  • 0
  • Storage
Viktor Olausson
1 Nov, 2024, 20:25

Hello I'm new to appwrite and i get an issue using storage in a react wmith vite project. when i trye to call the getfilepreview i get a null/undefined object back and when i'm looking at the response i get missing scope (buckets.read) with a 401 code and "general_unauthorized_scope",

TL;DR
Developers are encountering a missing scope error (buckets.read) with a 401 code and "general_unauthorized_scope" while using storage in a React app with Vite. This is resulting in a null/undefined object when calling getFilePreview. Ensure correct permissions on the bucket and file.
Steven
3 Nov, 2024, 00:32

What's the full error? What are the permissions on your bucket and file?

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more