Skip to first unread message
Assigned to by me

Matt Moore

Jul 21, 2021, 11:28:37 AM7/21/21
to Cerner FHIR Developers
I'm trying to do a basic Patient search after retrieving a token successfully using my system account -

I get "diagnostics": "Bearer realm=\"\", error=\"insufficient_scope\". Request id is - X-Request-Id: d2e12661-d31f-48aa-ac99-33cda2a31e8d.

I am specifying the "system/" scope in my auth token request that I send to

So, I think I should get a no patients found response here given that I should have appropriate scope for

Anything I'm missing? I've read and reread the system auth documentation and I don't think I'm missing anything.

Fenil Desani (Cerner)

Jul 21, 2021, 5:09:51 PM7/21/21
to Cerner FHIR Developers

The API call to search for patients looks incorrect. Please refer
Also, when you make the call to token endpoint to get access token, is system/ scope returned in the response?


Matt Moore

Jul 26, 2021, 5:39:20 PM7/26/21
to Cerner FHIR Developers
Oh jeez, that was definitely it. My app was inadvertently sticking an `/R4` in the URL. My bad!

Looks like the scope in the token was in good shape all along.

Reply all
Reply to author
This conversation is locked
You cannot reply and perform actions on locked conversations.
0 new messages