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
- How to bypass the rate limit on the back...
Once a month my app has a ton of usage and I always run into the Too many requests 429 error. I am trying to optimize the queues and jobs to manage that, but a...
- 401 - Project not accessible in this reg...
Hi Appwrite team, I’m experiencing a Cloud Console issue with my NYC region project. Problem: - Some Console pages return: “401 - Project is not accessible ...
- 401 - Project not accessible, Singapore ...
Hi, I'm getting a 401 error when I try to open my project from the Appwrite Cloud console dashboard. Project ID : sgp-6a04326f002bd04cc420 Region : Singap...