Ryan BaigOriginal post
Rank 1: Thread
JSON
{ message: 'app.almahdia@service.fra.cloud.appwrite.io (role: applications) missing scope (account)', code: 401, type: 'general_unauthorized_scope', version: '1.7.4'}I made this API Key to be used in middleware for locked routes, that require a login / session to be accessed. I dont know where the account scope is.
Summary
Developers made an API Key but encountered an error about missing account scope. The API Key is intended for middleware handling locked routes requiring login. Solution: Identify and add the missing account scope to the API Key.