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. Video jobs are charged when they are accepted; if a job later fails, its credits are refunded automatically and the reason is reported in the job’s error field (see Get Job).
The request_id is useful for support — include it when contacting support@poof.bg about an issue.