本文へ移動
↑↓ 移動 · Enter 開く · Esc 閉じる
Data APIドキュメントData API v2リファレンスステータス
Data API

unauthorized

Missing or invalid API key

HTTP
401
再試行
—
課金
なし

意味

リクエストにAPIキーがないか、キーが間違っている、無効化されている、または期限切れです。

直し方

有効なキーをx-api-keyヘッダー(またはAuthorization: Bearer)で送ってください。キーの作成と更新は、data.retailed.ioの「APIキー」で行えます。

再試行: いいえ。先にリクエストを修正してください。

例

HTTP 401 · application/problem+json
{
  "type": "https://www.retailed.io/datasources/docs/errors/unauthorized",
  "title": "Missing or invalid API key",
  "status": 401,
  "requestId": "req_…",
  "detail": "…"
}

すべてのエラーの種類

型ステータスタイトル
forbidden403This key may not call this endpoint
out-of-credits402Out of credits
unknown-endpoint404Unknown endpoint
product-not-found404Product not found
invalid-request422Invalid request
not-a-product422The page is not a product
conflict409Conflict
rate-limited429Too many requests
not-implemented501Not implemented
upstream-failed502We couldn't fetch this page right now
circuit-open503Site temporarily unavailable
internal500Internal error
status-unavailable503Status unavailable
catalogue-unavailable503Endpoint list unavailable
not-found404Not found

エラー →