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
- Cannot update existing function to Dart ...
I can only select up to Dart 3.10.
- Function executions not getting logged b...
Hello, I have just upgraded on a self-hosted 1.8.1 to 1.9.0 and I have a strange bug where my functions are no longer showing executions in the console, howeve...
- Cloud Function Deployment Issue – Timeou...
Impossible to deploy a function for more than an hour. My project ID is: 69cc7a82000b42b8f5e2 Here's the error I get after waiting 15 minutes: Synchronous funct...