Errors

When Shop Light refuses a request, you get an HTTP status and usually an error body with code, message, correlation_id, retryable, and details.

Error fields

FieldMeaning
codeError code
messageHuman-readable message
correlation_idKeep this if you contact support
retryableWhether a retry may work
detailsExtra context (object or null)

A bad request body may return 422 with a detail list instead of code.

HTTP status codes

HTTPMeaningWhat to do
401UnauthorizedCheck X-Api-Key
402Payment requiredCheck that your Google Shop Light plan is active and has requests left
408TimeoutRetry if retryable is true
422Invalid parametersFix the field named in the response (ID, product link, or more_stores range)
422PRODUCT_NOT_FOUNDGoogle has no product with that catalog ID. Check the ID or try another URL
422UPSTREAM_BLOCKEDGoogle declined the lookup. Retry the same request with backoff
429Rate limitedSlow down and try again after a short wait
500Internal server errorCheck retryable and keep correlation_id
502Upstream unreachableRetry if retryable is true
503Service unavailableTry again later

Retry guidance

  • Respect retryable
  • Keep correlation_id when you write to support

Billing reminders

  • Failed lookups are free
  • A returned product costs one request, even if the seller list is partial or completeness is unknown

Next

Was this page helpful?

On this page