age_restricted

The platform hides this content from logged-out visitors (age gate).

Response

Every failure uses this envelope. credits_charged is 0. The message below is the default text for this code. Live messages can change, so branch on error.code.

HTTP 403Sample
{
  "ok": false,
  "error": {
    "code": "age_restricted",
    "message": "The platform hides this content from logged-out visitors (age gate).",
    "retryable": false
  },
  "credits_charged": 0,
  "request_id": "req_0123456789abcdef01234567"
}

error.retryable is false. The same request fails the same way.

What to do

  • Logged-out requests cannot pass that gate. Do not retry.

The response header x-request-id matches request_id. The full list is on errors.