API reference / Errors

Authentication Required401

type: https://canviq.app/errors/authentication-required

The request did not include an API key.

When you will see this

How to resolve it

Send Authorization: Bearer pk_live_... (or pk_test_... in test mode) on every request.

Example response

{
  "type": "https://canviq.app/errors/authentication-required",
  "title": "Authentication Required",
  "status": 401,
  "detail": "No API key was provided. Send Authorization: Bearer pk_live_... on every request.",
  "request_id": "req_8f2a1c3d4e5f"
}

Related

API versioning and deprecation policy

Authentication Required (401): Canviq API errors | Canviq