Back

[SOLVED] Calling createExecution runs function twice

  • 0
  • Functions
  • Web
Ajit Singh
8 Nov, 2023, 08:43

I am calling create execution to a function its running twice in the appwrite backend. It happened earlier also and was solved automatically

https://discord.com/channels/564160730845151244/1165909582070161451/1165909582070161451

TL;DR
The user was experiencing an issue where their function was being executed twice when calling createExecution in the Appwrite backend. They checked the network tab and confirmed that only one API request was being made. This issue occurred for a few hours but then started running only once. The user mentioned that they had not seen this issue before when using the Appwrite SDK. The problem was eventually solved automatically.
Drake
8 Nov, 2023, 09:09

I haven't seen this before when executed via Appwrite SDK 🧐 are you sure the function isn't being executed twice client side?

Ajit Singh
8 Nov, 2023, 09:56

Now it started running only once

Ajit Singh
8 Nov, 2023, 09:56

It happens sometimes for an hour or two

Ajit Singh
8 Nov, 2023, 09:57

I was using the same function only changing the code in the function so the execution could not be culprit.

Ajit Singh
8 Nov, 2023, 09:57

Moreover I checked in the network tab there was only one api request

Drake
10 Nov, 2023, 22:45

[SOLVED] Calling createExecution runs function twice

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more