I have deployed my some changes related to fetching or updating some details in Active campaign but after that build I am getting constant that 504 and when i check the logs I am getting the error “Vercel Runtime Timeout Error: Task timed out after 15 seconds” .
Everything is fine in my local system. I don’t know what’s happening in vercel enviornment.
The FUNCTION_INVOCATION_TIMEOUT error occurs when a function invocation takes longer than the allowed execution time. This could be due to an error within the function itself, a slow network call, or an issue with the environment in which the function is running. FUNCTION_INVOCATION_TIMEOUT
On Pro plan, you can increase upto 300 seconds. However, it also means you need to make sure your function is optimized and responses are cached properly. Running long function will incur your Billing accordingly. Usage & Pricing for Functions