What happens during an outage
With a Sync API endpoint, getrequest attempts to proxy every incoming request to your destination. If your backend is unreachable or returns an error:- getrequest captures the full incoming request (headers, body, method, path).
- getrequest records the destination’s response — including
5xxerrors, timeouts, and connection failures. - The caller receives the destination’s error status directly.
- The log entry is saved with the failure details.
Timeout vs. unreachable — two different failures, two different codes
Sync API endpoints wait up to 3 seconds for your destination to respond. What the caller gets back depends on how your backend failed:- Too slow (your backend accepted the connection but never answered within 3 seconds) →
504 Gateway Timeout - Unreachable (connection refused, DNS failure, TLS error — your backend never even accepted the connection) →
502 Bad Gateway
The 3-second limit applies to the destination’s connection and response — it isn’t watered down by getrequest’s own processing, which is negligible compared to that window. See Limits, timeouts & error responses for the exact error body of every status code getrequest can return.
Identify what failed
Open Logs and filter by status code to find everything that failed during the incident:- Set the Status filter to
5xxor504. - Set the Time range to the incident window.
- Click any row to see the full request — what the caller sent, what your backend returned (or failed to return), and how long it took.
What to do next
Once your backend is back up:1
Confirm recovery
Send a test request to your endpoint and verify you get a
2xx response.2
Find failed requests
Filter Logs by
5xx and 504 for the incident window.3
Replay each one
Open each failed log entry and click Replay (paid plans — see FAQ). getrequest re-fires the exact request to your backend.
4
Verify the response
Confirm each replay returns
2xx. The new response is shown immediately in the log detail.Switching to Static API during maintenance
Not every outage is unplanned. If you’re taking your backend down intentionally — maintenance, a deploy — you can avoid 504s altogether by switching the endpoint over first:- Edit the endpoint and change Action to
Static API. - Set a meaningful response body — a maintenance message or a cached last-known-good response.
- Callers receive that response immediately instead of a 504.
- All requests are still logged.
- When your backend is back, switch the Action back to
Sync API(orAsync API) and replay anything that came in during the window.