On this page

API

upstream_timeout

HTTP 504. Upstream timeout

What it means

An upstream source was too slow.

What to do

Retry with backoff, or plan without online to use ReuseForge items only.

Retrying

Retry with backoff. The SDKs do this for you.

Example

json
{
  "type": "https://reuseforge.com/docs/api/errors/upstream_timeout",
  "title": "Upstream timeout",
  "status": 504,
  "detail": "An upstream source took too long.",
  "instance": "/api/v1/items/acme/invoice-extractor",
  "code": "upstream_timeout",
  "request_id": "req_c4v8n2m6x1z3"
}

Every error is application/problem+json (RFC 9457). Branch on code, show detail to people and quote request_id when you ask for help. See the error catalogue.