FHIR Binary api unable to locate pdf PDF

63 views
Skip to first unread message

Curtis Wingert

unread,
Apr 8, 2020, 1:50:52 PM4/8/20
to Cerner FHIR Developers
I am making calls to DocumentReference and then attempting to download the associated PDF from the DocumentReference result.

Example:

https://fhir-ehr.sandboxcerner.com/dstu2/0b8a0111-e8e6-4c26-a91c-5069cbc6b1ca/Binary/XR-14937299

Every time I get the following error.

Error status - 404 Not Found and Message - Resource not found

Benjamin Eichhorn (Cerner)

unread,
Apr 9, 2020, 9:05:09 AM4/9/20
to Cerner FHIR Developers
Hi Curtis,

Per our group guidelines, could you please post the X-Request-Id associated with your request? This is located in the headers of the response.

Thanks,
Ben (Cerner)

Curtis Wingert

unread,
Apr 9, 2020, 9:14:36 AM4/9/20
to Cerner FHIR Developers

Curtis Wingert

unread,
Apr 9, 2020, 9:29:20 AM4/9/20
to Cerner FHIR Developers
For this call X-Request-Id : d46f51b8c3f4a88a430d84b8c677a9be

Benjamin Eichhorn (Cerner)

unread,
Apr 9, 2020, 9:52:22 AM4/9/20
to Cerner FHIR Developers
Hi Curtis,

Both of those X-Request-Id's look like 401's, not 404s, due to no Authorization token while hitting our Secure sandbox.

Thanks,
Ben (Cerner)

Curtis Wingert

unread,
Apr 9, 2020, 10:05:24 AM4/9/20
to Cerner FHIR Developers
Ok, sorry about that.  Must have made a mistake in postman.

This call is from my application and is returning a 404:

'x-request-id': 'eb578201a2304648684464541a3228f0',


statusCode: 404,

Benjamin Eichhorn (Cerner)

unread,
Apr 9, 2020, 10:15:44 AM4/9/20
to Cerner FHIR Developers
Hi Curtis,

This unfortunately looks like a case of bad data and the document in question does not exist. This would be relatively unexpected in a production environment. I would suggest using either a different patient if possible to for your requests (for example Jason Mendoza has some working Binary calls https://fhir-open.sandboxcerner.com/dstu2/0b8a0111-e8e6-4c26-a91c-5069cbc6b1ca/DocumentReference?patient=4760007)

Thanks,
Ben (Cerner)

Curtis Wingert

unread,
Apr 9, 2020, 10:21:34 AM4/9/20
to Cerner FHIR Developers
Could you provide his birth date please?

Curtis Wingert

unread,
Apr 9, 2020, 11:16:24 AM4/9/20
to Cerner FHIR Developers
Using Jason Mendoza, 05/18/1980 same result

response:
   { status: 404,
     statusText: 'Not Found',
     headers:
      { date: 'Thu, 09 Apr 2020 15:14:31 GMT',
        'cache-control': 'no-cache',
        vary: 'Origin,User-Agent,Accept-Encoding',
        'server-response-time': '479.475499',
        'x-request-id': '91482a7e7ac9118f45c4d9e4d19322b2',
        status: '404 Not Found',
        connection: 'close',
        'transfer-encoding': 'chunked',
        'content-type': 'text/plain; charset=utf-8' },
     config:
      { url:

Curtis Wingert

unread,
Apr 9, 2020, 11:59:08 AM4/9/20
to Cerner FHIR Developers
Here are some more:

x-request-id : 82a4d375-7ef3-4203-8630-80ad247fd7ae
status       : 404 Not Found
.............................................

x-request-id : 58c4b5f2-25d6-45c6-a6c2-6e9eccc1dcd8
status       : 404 Not Found
.............................................

x-request-id : f27f42ee-a93d-4651-b392-f67954cb4c34
status       : 404 Not Found
.............................................



On Wednesday, April 8, 2020 at 12:50:52 PM UTC-5, Curtis Wingert wrote:

Mayur Rajendran (Cerner)

unread,
Apr 9, 2020, 12:37:21 PM4/9/20
to Cerner FHIR Developers
Thanks for providing all the x-request-ids, Curtis!

We're currently investigating the issue.

Thanks,
Mayur (Cerner)

Curtis Wingert

unread,
Apr 10, 2020, 9:01:39 AM4/10/20
to Cerner FHIR Developers
Hi Mayur,

Checking to see if there is any updates on this issue.   Appreciate your help.

Mayur Rajendran (Cerner)

unread,
Apr 10, 2020, 10:52:58 AM4/10/20
to Cerner FHIR Developers
Hi Curtis,

The requests should be working now, can you try them again?

Thanks,
Mayur (Cerner)

Curtis Wingert

unread,
Apr 10, 2020, 11:50:32 AM4/10/20
to Cerner FHIR Developers
Looks like it is working! Thank you!
Reply all
Reply to author
Forward
0 new messages