GraphQL API - 504 Gateway time-out

default discord avatar
last month

So, I've got a Payload Cloud project and a NextJS site on Cloudflare that pulls data from the GraphQL API. Every now and then the build will fail because of a GraphQL error (

Gateway time-out - Error code 504

). Retrying the build usually "fixes" it.

Is this an issue with Cloudflare, Payload, or Payload Cloud? 🤔

  • default discord avatar
    4 weeks ago

    I hit the RAM limit on Payload Cloud fairly often. At least, that's what I think is happening.

    Disabled a plugin which results in this happening less frequently

    . I still get the 504 every now and then though. I am using the REST API to build a Gatsby site, and in a similar situation to you, a rebuild usually fixes it.

  • discord user avatar
    Payload Team
    4 weeks ago

    @tinouti @capitalt2160 We're pushing a change to double the RAM for the standard tier, today 👍

    Redeploying your project will give you the new specs 🚀

  • default discord avatar
    4 weeks ago

    Awesome, I'll let you know if that fixes it. Thanks Elliot! 🙌

Open the post
Continue the discussion in Discord
Like what we're doing?
Star us on GitHub!


Connect with the Payload Community on Discord



Can't find what you're looking for?

Get help straight from the Payload team with an Enterprise License.