# `504`- Gateway timeout ## Description Our API gateway did not receive a timely response from it's upstream service(s). ## How to fix Retry with [exponential backoff](https://en.wikipedia.org/wiki/Exponential_backoff). ## Example ```http HTTP/1.1 504 Gateway timeout content-length: 165 content-type: application/problem+json date: Tue, 16 Apr 2024 10:42:01 GMT upvest-request-id: 307e1425-37d5-4052-8ad3-7b9c43ce9be8 { "type": "https://docs.upvest.co/errors/gateway_timeout", "status": 504, "title": "Gateway timeout", "request_id": "307e1425-37d5-4052-8ad3-7b9c43ce9be8" } ```