You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Today I started getting pydantic validation errors for some calls to LlamaParse.parser.parse()
...
pydantic_core._pydantic_core.ValidationError: 2 validation errors for JobResult
pages.1.images.0.original_width
Field required [type=missing, input_value={'name': 'img_p1_1.png', ...9, 'y': 684.69894064375}, input_type=dict]
For further information visit https://errors.pydantic.dev/2.11/v/missing
pages.1.images.0.original_height
Field required [type=missing, input_value={'name': 'img_p1_1.png', ...9, 'y': 684.69894064375}, input_type=dict]
For further information visit https://errors.pydantic.dev/2.11/v/missing
Files
Some example PDFs can be provided if necessary.
Job ID
Two example Job IDs showing this error:
ddab5846-6a36-48d3-916b-bacd47b96e42
8e1bb36d-385d-4023-904f-f3572b424e03
I am getting the same validation errors, also on validating images and properties original_width and original_height. Have you tried setting target_pages variable in your parse options to skip the problematic pages (page 1 in your case) to see how the rest of the document parses? When I did this, it failed to even parse the rest of the document--the resulting markdown text just said NO CONTENT HERE for most of the pages. This seems to suggest there is something about the format of the specific pdf that the parser doesn't like (beyond the pydantic validation errors). Not sure if there is a good work around for this?
Describe the bug
Today I started getting pydantic validation errors for some calls to LlamaParse.parser.parse()
Files
Some example PDFs can be provided if necessary.
Job ID
Two example Job IDs showing this error:
ddab5846-6a36-48d3-916b-bacd47b96e42
8e1bb36d-385d-4023-904f-f3572b424e03
Client:
Using Python llama-parse 0.6.12
Additional context
Excerpts of client code:
The text was updated successfully, but these errors were encountered: