DocsSign in

Public API

Errors

Every error uses the same JSON shape.

Error shape

json
{ "error": { "code": "product_unavailable", "message": "Product unavailable: Ribs BBQ" } }

Common codes

Show message to users for 4xx. For 5xx, show something generic and retry.
StatusCodeMeaning
401missing_api_keyNo key sent
401invalid_api_keyUnknown or revoked key
403insufficient_scopePublishable key on a secret-only endpoint
403origin_not_allowedDomain not registered for this publishable key
400product_not_foundUnknown productId
409product_unavailableItem switched off or soft 86'd at the requested location
400invalid_locationlocationId belongs to another restaurant
400missing_locationlocationId required when restaurant has multiple locations
429rate_limit_exceededSlow down; see Retry-After
500internal_errorOur fault — retry with the same idempotency key