I have a very weird error;
In a function I'm using dynamic keys to perform read write operation in rows. I have the scopes for read and write rows.
The function perform successfully listRows at the beginning of the function, but later in the code I have a table holidays with a date and description fields
The previous read are nothing special and it doesn't too much time to read information
Without any permission I get this error
appwrite | [Error]Line: 6732
appwrite | [Error] Method: GET
appwrite | [Error] URL: /v1/tablesdb/:databaseId/tables/:tableId/rows
appwrite | [Error] Type: Utopia\Database\Exception\Authorization
appwrite | [Error] Message: No permissions provided for action 'read'
appwrite | [Error] File: /usr/src/code/vendor/utopia-php/database/src/Database/Database.php
If in the table I add users:read I got this error:
appwrite | [Error] Line: 6732
appwrite | [Error] Method: GET
appwrite | [Error] URL: /v1/tablesdb/:databaseId/tables/:tableId/rows
appwrite | [Error] Type: Utopia\Database\Exception\Authorization
appwrite | [Error] Message: Missing "read" permission for role "users". Only "["any","guests"]" scopes are allowed and "["users"]" was given.
appwrite | [Error] File: /usr/src/code/vendor/utopia-php/database/src/Database/Database.php
If I add any:read
appwrite | [Error] Line: 184
appwrite | [Error] Method: POST
appwrite | [Error] URL: /v1/tablesdb/:databaseId/tables/:tableId/rows
appwrite | [Error] Type: Appwrite\Extend\Exception
appwrite | [Error] Message: The current user or API key does not have the required scopes to access the requested resource.
appwrite | [Error] File: /usr/src/code/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Create.php
I'm out of ideas to debug this error
I'm using:
Appwrite: 1.8.0 node-appwrite: 20.3.0
Recommended threads
- Issue with downloading large files (40GB...
Hi everyone! I am using the latest Appwrite 1.8.0 version on my self-hosted server. I successfully uploaded a large ZIP archive (~40GB) using the chunked uploa...
- Repository directory size should be less...
Whenever I create a function i get the error above. Is there a way to get around this? How do I fix this?
- "Waiting" executions
For my React Native App, I have had no issues deploying a function in Appwrite & the executions either working or failing. Now I am getting status code - 0 & j...