Skip to content
Back

Function 404 - Guest execution.read permission

  • 0
  • Self Hosted
  • Functions
Enzo
19 Nov, 2024, 17:25

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.
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more