
So i have a desktop app. First i created a user, then created a session. But it seems i also need JWT to call APIs (ie create document). CallingJTW with session id in header (X-Appwrite-Session), just returns:
Response: Object { "code": Number(401), "message": String("User (role: guests) missing scope (account)"), "type": String("general_unauthorized_scope"), "version": String("1.6.1"), }


x-appwrite-session is the header for the appwrite session token. Which is not the jwt token.
Recommended threads
- when is password optional for updatePass...
In the document it says that the old password is option when updatingPassword but when i implemented it requires me to give it my old password. So when is the o...
- Unable to resolve "node-fetch-native-wit...
I using react native and want to use node.js to create a custom token but i get this error. i have done npm i node-fetch-native-with-agent to see if that solves...
- why do I get this error sometimes?
hello everyone, I am integrating authorization via Yandex into my application and I often get Error Error 400 There was an error processing your request. Please...
