Barcode Labels Docs

Errors & Rate Limits

Error format, error codes, and rate limiting.

Error format

All errors are JSON:

{ "error": { "code": "invalid_type", "message": "Invalid or missing type. Valid types: ..." } }

Error codes

HTTPCodeMeaning
400missing_paramA required parameter is absent
400invalid_type, invalid_format, invalid_size, invalid_orientation, invalid_scale, invalid_height, invalid_rotate, invalid_includetext, invalid_showtext, invalid_textA parameter has an invalid value; the message lists valid values
422encode_failedThe value can't be encoded in the chosen symbology (e.g. wrong check digit, invalid characters) — the message includes details
429rate_limitedRate limit exceeded — retry after the Retry-After seconds
500internal_errorServer-side rendering failure — barcode or label rendering failed, PDF assembly failed, or label rendering is temporarily unavailable. Not caused by request parameters; safe to retry.

Rate limits

60 requests per minute per IP, with bursts up to 20. Every response includes:

  • X-RateLimit-Limit — requests allowed per minute
  • X-RateLimit-Remaining — remaining burst capacity
  • X-RateLimit-Reset — seconds until the bucket fully refills
  • Retry-After — on 429 responses, seconds until the next request would be allowed

When API keys ship, limits will be per key with higher tiers available.

On this page