400 on Posting DocumentReference

18 views
Skip to first unread message

bdat...@gmail.com

unread,
Dec 19, 2022, 2:52:47 PM12/19/22
to Oracle Cerner FHIR Developers
Hi, 

I'm seeing an intermittent issue when trying to post a DocumentReference to https://fhir-ehr-code.cerner.com/r4/ec2458f2-1e24-41c8-b71b-0e701af7583d, I've gotten a 400 error at times and at most other times, it's successful. 

Here is the error and corresponding x-request-id:
{
    "severity": "error",
    "code": "invalid",
    "details": {
        "text": "Invalid request"
    }
}
{"xRequestId":"09da4f4d-1cc4-4506-81b0-f3a4456efb6e+z4W4_Hb4k"}

The message doesn't indicate the nature of the problem.  Given that x-request-id, is there any more information on the backend indicating the cause off the error?

Thanks,
Barbara

Aaron McGinn (Oracle Cerner)

unread,
Dec 19, 2022, 7:38:22 PM12/19/22
to Oracle Cerner FHIR Developers
Here is the error I am seeing:
 |  Error while trying to parse XHTML content: The element type \"col\" must be terminated by the matching end-tag \"</col>\"

Since XHTML is less forgiving than HTML, you should use a validator (i.e. W3's [1]) to ensure the full structure of the document is valid.


-Aaron (Oracle Cerner)

bdat...@gmail.com

unread,
Dec 20, 2022, 10:13:40 AM12/20/22
to Oracle Cerner FHIR Developers
Thanks Aaron for that insight! Very helpful.

Thanks,
Barbara

Reply all
Reply to author
Forward
0 new messages