I am calling create execution to a function its running twice in the appwrite backend
Hello 👋 Can you reproduce it easily with a new function? Could you share more details so we can try it on our end?
It does not happen always
its just buggy I can't even pinpoint why it happens
Are you executing with SDK, using custom domain, ir some other way? For example, domain executions done in browser sometimes load some extra files like favicon. Or could send request just to get og image
Yes using the sdk, custom domain
You can log params on request, such as req.path, req.url and req.method, to see if they are exactpy the same, or different requests being sent
Ok
I’ve had this happen in the past because I forgot that I had triggers setup for an event. Check that your function has no events setup to trigger it
If that happened it will be consistent it happens and sometimes it does notr
[Solved] Calling createExecution runs function twice
Recommended threads
- Locked out of account
Hey guys, I have a paid account and have been locked out. Apologies for using this method, but I'm getting no response via the contact us page. I had a old do...
- Feedback and Deployment Challenges with ...
Hello world!, I've been developing a project using FastAPI in Python, and I was considering deploying it through Appwrite Functions. However, I encountered a f...
- Transaction Error
AppwriteException: Transaction with the requested ID could not be found. at Generator.next (<anonymous>) { code: 404, type: 'transaction_not_found', r...