MedicationRequest scopes triggering Authorization Error

31 views
Skip to first unread message
Assigned to Fenil....@cerner.com by me

Bomi Kim

unread,
Dec 8, 2021, 11:47:22 AM12/8/21
to Cerner FHIR Developers
Hello,

We just created a new Dev-only application, with all the scopes checked off. When attempting to test the MedicationRequest.read and MedicationRequest.write scopes, we receive the following 403 error message:

{
    "resourceType": "OperationOutcome",
    "issue": [
        {
            "severity": "error",
            "code": "forbidden",
            "diagnostics": "Bearer realm=\"fhir-myrecord.cerner.com\", error=\"insufficient_scope\"",
            "expression": [
                "http.Authorization"
            ]
        }
    ]
}

See the X-Request-ID here:
460ca77c-7a58-4219-b746-e1fe2b3839b0


Thank you,
Bomi Kim

Fenil Desani (Cerner)

unread,
Dec 8, 2021, 11:52:56 AM12/8/21
to Cerner FHIR Developers
Hello,

The provided token does not have sufficient scope for the request.
I do not see MedicationRequest scope registered for your App. Please check your App registration on https://code.cerner.com/developer/smart-on-fhir/apps

Thanks,
Fenil
Reply all
Reply to author
Forward
0 new messages