Parsing failed RECONSTRUCTION_ERROR on parse_page_with_agent_mode, job_timeout was also not being respected #535

Open
opened 2026-02-16 00:18:10 -05:00 by yindo · 0 comments
Owner

Originally created by @sophie-aistribute on GitHub (Sep 11, 2025).

Describe the bug

Received RECONSTRUCTION_ERROR after the job was running for 30 minutes despite the job_timeout_in_seconds was set to 120.0 and job_timeout_extra_time_per_page_in_seconds set to 30.0.

{
    "webhook_configurations": null,
    "priority": null,
    "custom_metadata": null,
    "resource_info": null,
    "languages": [
        "en"
    ],
    "parsing_instruction": "",
    "disable_ocr": false,
    "annotate_links": false,
    "adaptive_long_table": true,
    "compact_markdown_table": false,
    "disable_reconstruction": false,
    "disable_image_extraction": false,
    "invalidate_cache": true,
    "outlined_table_extraction": true,
    "merge_tables_across_pages_in_markdown": false,
    "output_pdf_of_document": false,
    "do_not_cache": true,
    "fast_mode": false,
    "skip_diagonal_text": false,
    "preserve_layout_alignment_across_pages": false,
    "preserve_very_small_text": false,
    "gpt4o_mode": false,
    "gpt4o_api_key": "",
    "do_not_unroll_columns": false,
    "extract_layout": false,
    "high_res_ocr": true,
    "html_make_all_elements_visible": false,
    "layout_aware": false,
    "specialized_chart_parsing_agentic": false,
    "specialized_chart_parsing_plus": false,
    "specialized_chart_parsing_efficient": false,
    "precise_bounding_box": false,
    "html_remove_navigation_elements": false,
    "html_remove_fixed_elements": false,
    "guess_xlsx_sheet_name": false,
    "page_separator": "\n\n---\n\n",
    "bounding_box": "",
    "bbox_top": null,
    "bbox_right": null,
    "bbox_bottom": null,
    "bbox_left": null,
    "target_pages": "",
    "use_vendor_multimodal_model": false,
    "vendor_multimodal_model_name": null,
    "model": "anthropic-sonnet-3.5",
    "vendor_multimodal_api_key": "",
    "page_prefix": "",
    "page_suffix": "",
    "webhook_url": "",
    "preset": "",
    "take_screenshot": false,
    "is_formatting_instruction": true,
    "premium_mode": false,
    "continuous_mode": false,
    "input_s3_path": "s3://llama-platform-file-parsing/<redacted>/input.pdf",
    "input_s3_region": "us-east-1",
    "output_s3_path_prefix": "s3://llama-platform-file-parsing/<redacted>",
    "output_s3_region": "us-east-1",
    "project_id": "d4f75436-2976-45ec-b4f2-61ae1d6b15aa",
    "azure_openai_deployment_name": null,
    "azure_openai_endpoint": null,
    "azure_openai_api_version": null,
    "azure_openai_key": null,
    "input_url": null,
    "http_proxy": null,
    "auto_mode": false,
    "auto_mode_trigger_on_regexp_in_page": null,
    "auto_mode_trigger_on_text_in_page": null,
    "auto_mode_trigger_on_table_in_page": false,
    "auto_mode_trigger_on_image_in_page": false,
    "auto_mode_configuration_json": null,
    "structured_output": false,
    "structured_output_json_schema": null,
    "structured_output_json_schema_name": null,
    "max_pages": null,
    "max_pages_enforced": 0,
    "extract_charts": false,
    "formatting_instruction": null,
    "complemental_formatting_instruction": null,
    "content_guideline_instruction": null,
    "spreadsheet_extract_sub_tables": true,
    "job_timeout_in_seconds": 120.0,
    "job_timeout_extra_time_per_page_in_seconds": 30.0,
    "strict_mode_image_extraction": false,
    "strict_mode_image_ocr": false,
    "strict_mode_reconstruction": false,
    "strict_mode_buggy_font": false,
    "save_images": true,
    "hide_headers": false,
    "hide_footers": false,
    "page_header_prefix": null,
    "page_header_suffix": null,
    "page_footer_prefix": null,
    "page_footer_suffix": null,
    "ignore_document_elements_for_layout_detection": false,
    "output_tables_as_HTML": true,
    "internal_is_screenshot_job": false,
    "parse_mode": "parse_page_with_agent",
    "system_prompt": "",
    "system_prompt_append": "",
    "user_prompt": "",
    "page_error_tolerance": 0.05,
    "replace_failed_page_mode": null,
    "replace_failed_page_with_error_message_prefix": "",
    "replace_failed_page_with_error_message_suffix": "",
    "markdown_table_multiline_header_separator": null,
    "type": "parse",
    "file_name": "eManifest_<redacted>-5bDEUQ.pdf",
    "original_file_name": "eManifest_<redacted>-5bDEUQ.pdf",
    "file_key": "s3://llama-platform-file-parsing/<redacted>/input.pdf",
    "lang": "en",
    "outputBucket": null,
    "file_id": null,
    "pipeline_id": null
}
{
  "webhook_configurations": null,
  "job_name": "parse_raw_file_job",
  "partitions": {
    "file_parsing_id_partition": "6803200e-4dbf-4398-af9a-5afaade8e9b3"
  },
  "parameters": {
    "original_file_name": "eManifest_<redacted>-5bDEUQ.pdf",
    "do_not_cache": true
  },
  "session_id": null,
  "correlation_id": null,
  "parent_job_execution_id": null,
  "user_id": "<redacted>",
  "created_at": "2025-09-10T20:05:27.728000Z",
  "project_id": "d4f75436-2976-45ec-b4f2-61ae1d6b15aa",
  "id": "9cec4c7d-d525-4d2b-b8a7-bb491eb0260e",
  "status": "ERROR",
  "error_code": "RECONSTRUCTION_ERROR",
  "error_message": "Something went wrong while parsing the document. Please contact support with your job-record-id=9cec4c7d-d525-4d2b-b8a7-bb491eb0260e",
  "attempts": 2,
  "started_at": "2025-09-10T20:15:49.613000Z",
  "ended_at": "2025-09-10T20:15:50.894000Z",
  "updated_at": "2025-09-10T20:15:50.899000Z"
}

Files

Job ID
job-record-id=9cec4c7d-d525-4d2b-b8a7-bb491eb0260e

Originally created by @sophie-aistribute on GitHub (Sep 11, 2025). **Describe the bug** Received RECONSTRUCTION_ERROR after the job was running for 30 minutes despite the `job_timeout_in_seconds` was set to 120.0 and `job_timeout_extra_time_per_page_in_seconds` set to 30.0. ```json { "webhook_configurations": null, "priority": null, "custom_metadata": null, "resource_info": null, "languages": [ "en" ], "parsing_instruction": "", "disable_ocr": false, "annotate_links": false, "adaptive_long_table": true, "compact_markdown_table": false, "disable_reconstruction": false, "disable_image_extraction": false, "invalidate_cache": true, "outlined_table_extraction": true, "merge_tables_across_pages_in_markdown": false, "output_pdf_of_document": false, "do_not_cache": true, "fast_mode": false, "skip_diagonal_text": false, "preserve_layout_alignment_across_pages": false, "preserve_very_small_text": false, "gpt4o_mode": false, "gpt4o_api_key": "", "do_not_unroll_columns": false, "extract_layout": false, "high_res_ocr": true, "html_make_all_elements_visible": false, "layout_aware": false, "specialized_chart_parsing_agentic": false, "specialized_chart_parsing_plus": false, "specialized_chart_parsing_efficient": false, "precise_bounding_box": false, "html_remove_navigation_elements": false, "html_remove_fixed_elements": false, "guess_xlsx_sheet_name": false, "page_separator": "\n\n---\n\n", "bounding_box": "", "bbox_top": null, "bbox_right": null, "bbox_bottom": null, "bbox_left": null, "target_pages": "", "use_vendor_multimodal_model": false, "vendor_multimodal_model_name": null, "model": "anthropic-sonnet-3.5", "vendor_multimodal_api_key": "", "page_prefix": "", "page_suffix": "", "webhook_url": "", "preset": "", "take_screenshot": false, "is_formatting_instruction": true, "premium_mode": false, "continuous_mode": false, "input_s3_path": "s3://llama-platform-file-parsing/<redacted>/input.pdf", "input_s3_region": "us-east-1", "output_s3_path_prefix": "s3://llama-platform-file-parsing/<redacted>", "output_s3_region": "us-east-1", "project_id": "d4f75436-2976-45ec-b4f2-61ae1d6b15aa", "azure_openai_deployment_name": null, "azure_openai_endpoint": null, "azure_openai_api_version": null, "azure_openai_key": null, "input_url": null, "http_proxy": null, "auto_mode": false, "auto_mode_trigger_on_regexp_in_page": null, "auto_mode_trigger_on_text_in_page": null, "auto_mode_trigger_on_table_in_page": false, "auto_mode_trigger_on_image_in_page": false, "auto_mode_configuration_json": null, "structured_output": false, "structured_output_json_schema": null, "structured_output_json_schema_name": null, "max_pages": null, "max_pages_enforced": 0, "extract_charts": false, "formatting_instruction": null, "complemental_formatting_instruction": null, "content_guideline_instruction": null, "spreadsheet_extract_sub_tables": true, "job_timeout_in_seconds": 120.0, "job_timeout_extra_time_per_page_in_seconds": 30.0, "strict_mode_image_extraction": false, "strict_mode_image_ocr": false, "strict_mode_reconstruction": false, "strict_mode_buggy_font": false, "save_images": true, "hide_headers": false, "hide_footers": false, "page_header_prefix": null, "page_header_suffix": null, "page_footer_prefix": null, "page_footer_suffix": null, "ignore_document_elements_for_layout_detection": false, "output_tables_as_HTML": true, "internal_is_screenshot_job": false, "parse_mode": "parse_page_with_agent", "system_prompt": "", "system_prompt_append": "", "user_prompt": "", "page_error_tolerance": 0.05, "replace_failed_page_mode": null, "replace_failed_page_with_error_message_prefix": "", "replace_failed_page_with_error_message_suffix": "", "markdown_table_multiline_header_separator": null, "type": "parse", "file_name": "eManifest_<redacted>-5bDEUQ.pdf", "original_file_name": "eManifest_<redacted>-5bDEUQ.pdf", "file_key": "s3://llama-platform-file-parsing/<redacted>/input.pdf", "lang": "en", "outputBucket": null, "file_id": null, "pipeline_id": null } ``` ```json { "webhook_configurations": null, "job_name": "parse_raw_file_job", "partitions": { "file_parsing_id_partition": "6803200e-4dbf-4398-af9a-5afaade8e9b3" }, "parameters": { "original_file_name": "eManifest_<redacted>-5bDEUQ.pdf", "do_not_cache": true }, "session_id": null, "correlation_id": null, "parent_job_execution_id": null, "user_id": "<redacted>", "created_at": "2025-09-10T20:05:27.728000Z", "project_id": "d4f75436-2976-45ec-b4f2-61ae1d6b15aa", "id": "9cec4c7d-d525-4d2b-b8a7-bb491eb0260e", "status": "ERROR", "error_code": "RECONSTRUCTION_ERROR", "error_message": "Something went wrong while parsing the document. Please contact support with your job-record-id=9cec4c7d-d525-4d2b-b8a7-bb491eb0260e", "attempts": 2, "started_at": "2025-09-10T20:15:49.613000Z", "ended_at": "2025-09-10T20:15:50.894000Z", "updated_at": "2025-09-10T20:15:50.899000Z" } ``` **Files** **Job ID** job-record-id=9cec4c7d-d525-4d2b-b8a7-bb491eb0260e
yindo added the bug label 2026-02-16 00:18:10 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: run-llama/llama_cloud_services#535