Error Reference Table
image_too_large is normally returned as 400 by the API gateway. If an oversized upload reaches the processing service, it is rejected there with 413. Handle both statuses the same way.upstream_error uses 502 (unreachable), 503 (temporarily unavailable) or 504 (timed out). All three are safe to retry with backoff.Error Response Format
All errors return a flat JSON body:
Every error response also carries an
X-Request-ID header equal to request_id. Failed requests are never billed.
The request_id is useful for support — include it when contacting support@poof.bg about an issue.