Hi. I'm making a function on my selfhosted instance of AppWrite.
When checking the network tab in my browser, I see that call, that does a 404. https://appwrite.mydomain.ext/v1/functions/673cb4935684f470c5cc/executions
Yet when I click on the link, I got to a page with the following error.
TypeScript
{
"message": "User (role: guests) missing scope (execution.read)",
"code": 401,
"type": "general_unauthorized_scope",
"version": "1.6.0"
}
I can't seem to find where I can add the guest role for my function.
TL;DR
- Developer is experiencing a 404 error when trying to execute a function on their self-hosted AppWrite instance.
- Error message indicates that the user (role: guests) is missing the scope (execution.read).
- Developer is looking for how to add the guest role for their function.
Solution:
- To solve the issue, the developer needs to add the specific scope (execution.read) to the guest role in the AppWrite settings. This will grant the necessary permission for the function execution to be successful.Recommended threads
- Functions not executing after usage rese...
Hi team, Last month my project hit 100% usage and functions stopped working (expected). Now the new month has started and usage has reset, requests are going ...
- Functions never end and always fail (sta...
Hi ! I'm using Appwrite Cloud Pro and function execution from appwrite website is KO. Deploying starter function template, execution is always Failed and the ...
- Provider error when creating a function ...