Hello Dojo,
We have a User-Defined API running in a staging environment that is operational and functional. However, we’ve noticed something odd: sometimes the very first call after an idle period returns a timeout. If we repeat the same call right after, we get a response indicating that the first request was actually executed successfully. Interestingly, if we make a new call with different data, there’s no timeout — it only ever happens on the very first request after being idle.
Has anyone else experienced something similar, or do you have any ideas about what might be causing this behavior?

Hi Yohan, can you give some more info on what your API script does? And can you tell us how long it takes for your API request to execute in normal circumstances? The default timeout for a User-Defined API trigger is 90 seconds. If the script is still running by then, a timeout error will be returned, but the script will remain running in the background, this is expected behavior. After a DMA restart, it's normal that the first request is a little slower, but 90+ seconds seems like a lot.