504 Gateway Timeout for Google Ads API

Hello,

I have been trying to get my Custom GPT and Google Ads API to work and I continue to get a 504 timeout.

When I trigger the API call within GPT it’s communicating with my vercel project but times out.

After looking at the troubleshooting options, nothing stood out to me and I’m not sure how to proceed in fixing the issue.

There could be couple of reasons such:

  • response isn’t being returned
  • your function isn’t responding within function timeout range

and many more. This article will help you to troubleshoot further: What can I do about Vercel Functions timing out?

1 Like