Skip to content
Back

Transaction and Session

  • 0
  • Self Hosted
  • Databases
Guille
6 Jan, 2026, 15:49

I've been debugging for hours a problem that now I think it's because It's not allowed:

In my project a user log in using the node-appwrite SDK (SSR) I store the cookie and then I use it for my different operations

Now I'm building a section with massive operations, I'm using createRows but each time I use it with a session I get general_unauthorized_scope

If I change to an API KEY it works without a problem.

Isn't possible to use a session for transaction operations?

What would be the way to do this? I know it may be possible with a cloud function, but I'd like to avoid create a function in this case, there is any other way to achieve this?

I need to track who is the user doing this actions

TL;DR
Project involves Node.js with the node-appwrite SDK where developers login and store cookies. They face 'general_unauthorized_scope' error when using sessions for massive operations like 'createRows,' but API keys work. Is it possible to use a session for transaction operations without creating a cloud function? Developers need to track the user performing these actions.
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