I'm encountering a persistent issue where one of my functions, acting as a webhook endpoint, is not executing the latest active deployment when triggered by an external service.
Environment:
Appwrite Version: Appwrite Cloud
Function Runtime: Node.js (using ES Modules)
Trigger Type: External HTTP POST request from the Razorpay payment gateway.
Problem Description: I have an Appwrite Function (verifyPayment) that serves as a webhook to confirm payments from Razorpay. The function has been deployed and has public execute access (any).
When I trigger the function manually from the Appwrite Console ("Execute now"), it correctly runs the latest active deployment.
However, when the function is triggered by the Razorpay webhook (an external POST request to the function's domain), it consistently executes an old, cached version of the code.
Recommended threads
- Rate limit
How do I solve "Signup Failed, Rate limit for the current endpoint has been exceeded. Please try again after some time"? I have Pro and around 2k requests per ...
- Type 'Theme' does not satisfy the constr...
Type 'Theme' does not satisfy the constraint 'Row'. Type 'Theme' is missing the following properties from type 'Row': $id, $sequence, $tableId, $databaseId, a...
- Dev Keys not working
looks like dev key are broken they simply don't work i suggest remove them until you have them working otherwise they confuse devs took me few minutes trying ...