Workflow or API calls: I am getting a DocumentReference for a patient and when I try to fetch the actual document using the Binary resource, I am getting 422 error.
/Binary/XR-xxxxxxxxx
I have set the Accept header to application/pdf to match the contentType from DocumentReference response, but getting same error.
Reminder: If this is referring to a client domain or EHR activity—not the public sandbox—do not include API request data or live patient data.
Background Information:
Failure to provide answers will impact our ability to respond in a timely and effective manner
Developer questions:
Are you an Oracle Partner Network Member? Yes / No
If you answer Yes to the above, please answer the below as well:
Partner/Company Name:
Is your company enrolled in the Industry Healthcare Path? Yes / No
Does your company have the Oracle Health Millennium Platform (OHMP) Environment Access Technical Accelerator? Yes / No
Are you developing on behalf of an Oracle Health client?
If so, which client: AMHD_ARE
Application's Client ID and App ID, if relevant:
Expected Result: Report output
Actual Result:
{"resourceType":"OperationOutcome","issue":[{"severity":"error","code":"invalid","details":{"text":"Unprocessable entity"}}]}
X-Request-Id : /796F8AB045B0493D8C8C6029C19659A6+YN5Y_yLvU
Date/time of the example:Sun, 08 Mar 2026 11:38:16 GMT