Gary SchellhasOriginal post
Web Developer
I am trying to call a Function that I have protected with its generated appwrite.global url. When I have it allowed to be called publicly, I get a response, but if I protect it with All User access, I can not figure out how I can call the function with using an API key I generated.
I made sure to use the X-Appwrite-Key: and X-Appwrite-Project: headers.
I get an error about execute permission role.
Summary
Developers are trying to call a protected Appwrite function using its generated appwrite.global URL. They can successfully call the function when it is allowed to be called publicly, but encounter issues when trying to call it with an API key. They have already included the necessary headers (X-Appwrite-Key and X-Appwrite-Project), but receive an error regarding execute permission role.