Skip to main content
cogDepot

Problem types

bad-gateway

HTTP 502

The request reached a dependency we rely on, that dependency failed, and the outcome is not known yet. The body carries no reason member. Where the request carried an x402 payment, do not sign or send a second payment for it: the failure is flagged on our side.

Response shape

{
  "type": "https://cogdepot.com/problems/bad-gateway",
  "title": "<short human-readable summary>",
  "status": 502,
  "detail": "<what happened on this occurrence>"
}

This type carries no reason member. Branch on the HTTP status. The title is prose and may be reworded.