My API call is resolved after rest of the nodes (that are technically later in sequence). How can I solve this? I tried delaying node transition, creating cheeky infinity loop until data is saved to variables etc. nothing seems to work.
e
early-train-33247
07/05/2023, 1:41 PM
Hey @modern-car-49427! Could you send a screenshot of your code? There may be a problem there because the Execute Code card is only finished when you get a responde from the server.
early-train-33247
07/05/2023, 1:41 PM
Maybe you are not using await?
m
modern-car-49427
07/05/2023, 2:00 PM
I changed the structure of my code and it does work properly now. The question is why it didn't work properly from the start (i was using await). Thanks for reaching out.
e
early-train-33247
07/09/2023, 12:18 PM
Hey @modern-car-49427, glad it worked out!
early-train-33247
07/09/2023, 12:19 PM
Maybe you had the api call inside a function, instead of directly in the code?