504 Status - Gateway Timeout

I’m getting a 504 status occasionally when calling https://api.alpaca.markets/v2/account. It’s happened only today and I can’t determine the root cause of it. Is this a intermittent, known issue or is it isolated to me?

The response body just states:

data: { message: 'an error occured.' }


Are you running your infrastructure on a cloud PC or at home? Wired or wireless connection?

I’ve never noticed this when running Python code to talk to Alpaca on a cloud PC, but I have noticed something similar to this when running on my home internet connection.

I was running it remotely at GCP. It has subsided so not sure what was going on at the time.