The error means Document AI can’t find the processor version you’re asking for.
In your code you are mixing project identifiers and using a processor version that doesn’t exist.
A few things to check:
1. Make sure you use the same project everywhere. Document AI accepts either the project number ( 466668368501) or the project ID (inspired-ether-458806-u7), but you must use the same one consistently.
2. If you don’t have a custom processor version, don’t pass processor_version_id. Just build the resource name like this:
python:
name = client.processor_path(project_id, location, processor_id)