EnzoOriginal post
Rank 1: Thread
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.
{
"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.
Summary
- 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.