## TL;DR

Only set ocr_config on OCR or form parser processors, only use page_range with online ProcessDocument calls, and check that your processor version supports schema overrides before passing schema_override. Do not copy ProcessOptions blindly between processor types.

## Steps

1. Do not copy ProcessOptions blindly between processor types. Only set ocr_config on OCR or form parser processors, only use page_range with online ProcessDocument calls, and check that your processor version supports schema overrides before passing schema_override. Each of these returns a hard error rather than being silently ignored.

## When to use

You are seeing this: Do not copy ProcessOptions blindly between processor types. Use this skill when you run into "Document AI ProcessOptions that error on the wrong processor type".

## When not to use

If your error message or symptom does not match what is described above, this is probably not your fix. Search for your exact error text instead of forcing this one to fit.

## Versions

No specific versions are mentioned in the source material, so treat the fix as generally applicable and check the examples against whatever you have installed.

## Why this happens

The original report does not dig into a root cause. It documents the symptom and the fix that resolved it.
