Skip to main content

PDF.BAD_AREA

Error code PDF.BAD_AREA, raised by packages-pdf. Area: PDF.

What it means​

  • Width and height must be greater than 0
  • Area '…' must be {page, x, y, width, height}
  • Area '…' has no …

What to do​

  • Measure the area in points from the top-left corner of the page.
  • Give the area as a Dictionary.
  • Give x, y, width and height in points.

In a Try block, a Catch can match this code. An internal error shows a reference such as ERR-…: an administrator finds the details beside it in the server log.

Search words: PDF BAD_AREA bad area