Back

[SOLVED] 1.5.1 Session write scope.

  • 0
  • Self Hosted
Camo
9 Mar, 2024, 01:10

Where exactly can we enable session write scope?

TL;DR
The issue was due to the API key needing updates on permissions to enable the session write scope. This could be done by updating the role to include the necessary scope `(sessions.write)`.
Camo
9 Mar, 2024, 01:11
TypeScript
  type: 'general_unauthorized_scope',
  response: {
    message: 'app.65bfe448c590208a708d@service.appwrite.domain.com (role: applications) missing scope (sessions.write)',
    code: 401,
    type: 'general_unauthorized_scope',
    version: '1.5.1'
  }``` I'm trying out the ssr example, after update, i haven't done anything to the server
Camo
9 Mar, 2024, 01:13

oh the api key was needing some updates on permissions

Camo
9 Mar, 2024, 01:55

[SOLVED] 1.5.1 Session write scope.

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