Hello all!
So my issue is that I keep getting
ERROR Error creating invitation: The requested service is disabled. You can enable the service from the Appwrite console.
When trying to use a session client to run the following createDocument(...)
This is how i construct my client now
.setEndpoint(this.config.public.appwriteUrl) .setProject(this.config.public.appwriteProjectId);
if (sessionToken) {
client.setSession(sessionToken);
}
Const databases = new Databases(client);
then with the created Databases object I do the following:
databases!.createDocument(...) . I have observed 2 things, 1 this fails and I had logged the sessionToken to ensure something was present, secondly when I use the admin client with API Key the same process works. I know I am missing something but I am not sure what that is.
Recommended threads
- [FEAT REQ] Bun runtime support
Instead of just Nodejs, it would be helpful to also add support for the Bun runtime which can speed up deployments by a ton.
- [ENHANCEMENT] Use the custom Next.js dep...
Deployment adapters on Next.js are now stable! This means that we don't have to stick to the limitations of sniffing out build outputs and manually moving or mo...
- NextJS builds sudden runtime_timeout
My builds suddenly stopped working. Activating old prebuilt snapshots work, but redeploying that same code produces builds that throw runtime_timeout FRA region