Vague "invalid request" when error trying to search for appointments

32 views
Skip to first unread message

David Gileadi

unread,
Apr 10, 2020, 1:29:48 PM4/10/20
to Cerner FHIR Developers
Hi, I'm having trouble searching for r4 appointments using a system account. I've successfully authenticated and have a correct bearer token, which I've verified by successfully reading a patient. However, when I try to search for appointments I get the a vague "invalid request" error. I've tried varying the patient and dates, and still get the same error. Here is an example:

X-Request-ID: aa05a3c7a612dfdcae3ca381124a139a
Response Body (formatted for readability):
{
"resourceType": "OperationOutcome",
"issue": [
{
"severity": "error",
"code": "invalid",
"details": {
"text": "Invalid request"
}
}
]
}

As best I can tell my URL seems to be similar to the example in the Appointment documentation. Do you have any suggestions?

Benjamin Eichhorn (Cerner)

unread,
Apr 10, 2020, 4:09:03 PM4/10/20
to cerner-fhir...@googlegroups.com
Hi David,

Your request looks valid, unfortunately there's an error on our side that is expecting you to provide milliseconds on the date time. If you do some (as I've done in the below request) your request will succeed. We'll work on fixing the issue, but for now you will need to provide milliseconds.


Thank you,
Ben (Cerner)

David Gileadi

unread,
Apr 10, 2020, 5:26:54 PM4/10/20
to Cerner FHIR Developers
Sure enough. Thanks for your help!
Reply all
Reply to author
Forward
0 new messages