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
- Bug Report: type generation for enum of ...
### 👟 Reproduction steps in the enum element value, instead of English, use another language (Khmer), in my case Khmer text. ``` export enum ProvinceType { ...
- Github Repos are not appearing on sites ...
Hi, Has anyone had recent issues with sites feature where github repos are not appearing? I even tried unliking and giving it a shot! It does not even show up, ...
- [Bug] Cannot set any token expiry to Nev...
Tried with file tokens and api keys