invalid_header_parameter

One of the provided headers is not valid.

client validationHTTP 400terminalnever billed

Common causes

  • · The header is missing the colon — the format is `Name: value`.
  • · The name contains a character that is not a valid HTTP token.
  • · The value contains a carriage return or line feed.

What to do

  • · Send one header per entry, each as a single `Name: value` string.
  • · Use `authorization` instead of hand-rolling an Authorization header when you only need a bearer token.
  • · Strip newlines before sending: they are rejected because header injection is the obvious attack here.

Response shape

HTTP 400
{
  "is_successful": false,
  "error_code": "invalid_header_parameter",
  "error_message": "One of the provided headers is not valid.",
  "documentation_url": "https://api.pagecapture.dev/docs/errors/invalid_header_parameter",
  "request_id": "req_01..."
}