request_not_valid

The request is not valid.

client validationHTTP 400terminalnever billed

Common causes

  • · Two mutually exclusive inputs were sent: `url`, `html` and `markdown` cannot be combined.
  • · A parameter combination the format does not support — a transparent background on JPEG, for example.
  • · A value outside the documented range, or an option sent to the wrong endpoint.
  • · A scheme other than http/https.

What to do

  • · Read `error_message`: validation says which parameter is wrong, because a generic message would just move the debugging to you.
  • · Check the option against /docs/options — the endpoint column matters, since some options are /take only.
  • · Nothing was rendered and nothing was charged: this fails before the browser opens.

Response shape

HTTP 400
{
  "is_successful": false,
  "error_code": "request_not_valid",
  "error_message": "The request is not valid.",
  "documentation_url": "https://api.pagecapture.dev/docs/errors/request_not_valid",
  "request_id": "req_01..."
}