Insufficient access

39 views
Skip to first unread message

Bhushan Varade

unread,
Nov 30, 2022, 8:43:10 AM11/30/22
to Oracle Cerner FHIR Developers
Hi ,I am trying to create new patient,passing below json to function,but facing this issue->

n \"resourceType\": \"OperationOutcome\",\n \"issue\": [\n {\n \"severity\": \"error\",\n \"code\": \"security\",\n \"diagnostics\": \"Bearer realm=\\\"fhir-ehr.sandboxcerner.com\\\", error=\\\"insufficient_access\\\", error_description=\\\"Unauthorized or insufficient access to resource\\\"\",\n \"expression\": [\n \"http.Authorization\"\n ]\n }\n ]\n}"

json


{
"resourceType": "Patient",
"name": [
{
"use": "usual",
"family": "FHIRcreate",
"given": [
"Elle"
]
},
{
"use": "official",
"family": "Wolf",
"given": [
"Big",
"Bad"
],
"period": {
"start": "2010-05-17T14:54:31.000Z"
}
},
],
"identifier": [
{
"assigner": {
"reference": "Organization/675844"
}
}
],
"birthDate": "1988-07-30",
"address": [
{
"use": "home",
"line": [
"100 Milky Way"
],
"city": "Verona",
"state": "WI",
"postalCode": "53593",
}
],

}
Reply all
Reply to author
Forward
0 new messages