Rank 1: Thread
My Appwrite function returns a status of 200 only when the execute permission is set to "Any." However, when I apply other permissions, such as "All Users" or label-based permissions, from my client-side code, the API status remains stuck in "pending," and I'm unable to view any execution logs for the respective function. The same function with same server side code and same client side code is giving 200 status if the execute permission is set to "Any". I have valid session object and user object session value also printed on console.
I have other functions working fine with "All Users" permission, but this issue persists with the newly created function. Could you please help identify what might be missing or misconfigured? Screenshots attached for your reference