Function Invocation Timeout
Answered
Villano de Las Encartaciones posted this in #help-forum
Villano de Las EncartacionesOP
Hi,
I recently deployed my application on Vercel but I have an api route that gives 504 Gateway Timeout and in the response I see An error occurred in your deployment.
FUNCTION_INVOCATION_TIMEOUT
How do I resolve this, I am also on the Pro plan
I recently deployed my application on Vercel but I have an api route that gives 504 Gateway Timeout and in the response I see An error occurred in your deployment.
FUNCTION_INVOCATION_TIMEOUT
How do I resolve this, I am also on the Pro plan
Answered by Villano de Las Encartaciones
Yeah thanks, apparently the backend code wasn’t running hence the error.
But it has been resolved. Thanks
But it has been resolved. Thanks
3 Replies
@Villano de Las Encartaciones Hi,
I recently deployed my application on Vercel but I have an api route that gives 504 Gateway Timeout and in the response I see An error occurred in your deployment.
FUNCTION_INVOCATION_TIMEOUT
How do I resolve this, I am also on the Pro plan
you might want to write code, that will finish executing within the function timeout. Like that the code finished executing in time and no error is thrown
@Villano de Las Encartaciones solved?
@B33fb0n3 <@726529792848953405> solved?
Villano de Las EncartacionesOP
Yeah thanks, apparently the backend code wasn’t running hence the error.
But it has been resolved. Thanks
But it has been resolved. Thanks
Answer