All errors

resulting_image_too_large

The resulting image exceeds the maximum allowed size.

encoderHTTP 400terminalnever billed

Common causes

  • · Viewport × scale factor exceeds the pixel budget.
  • · A full-page capture of a very tall document.

What to do

  • · Lower `device_scale_factor`, or cap it with `full_page_max_height`.
  • · Use `image_width` to resize the output.
  • · Use `full_page_slices=true` for very tall pages.

Response shape

HTTP 400
{
  "is_successful": false,
  "error_code": "resulting_image_too_large",
  "error_message": "The resulting image exceeds the maximum allowed size.",
  "documentation_url": "https://api.pagecapture.dev/docs/errors/resulting_image_too_large",
  "request_id": "req_01..."
}