#[SOLVED] AppwriteException: [email protected] (role: users) missing scope (collections.read)

5 messages · Page 1 of 1 (latest)

timid monolith
#

I keep getting the error in the title when running this query:

      const issues = await databases.getCollection(
        import.meta.env.DATABASE_ID,
        import.meta.env.ISSUES_ID,
      )

I give up. I've tried enabling a dozen different permissions such as the one in this screenshot:

gusty plank
timid monolith
#

OK I changed the query to this and it seems to work:

      const issues = await databases.listDocuments(
        import.meta.env.DATABASE_ID,
        import.meta.env.ISSUES_ID,
      )
#

Hope I did that right

#

thank you