Accress token is successfuly generated but not able to accress any resource,

60 views
Skip to first unread message

Momin Shiraj

unread,
Dec 11, 2020, 7:47:55 AM12/11/20
to Data at the Point of Care Community
Hello DPC Team,

I am able to generat the Access token but then after I am not able to do anything, when I go the get method like "Request Data on All Practitioners in Organization" (/api/v1/Practitioner)

it's give me below error. note i am getting below rejection for all other APIs also.


{
    "resourceType": "OperationOutcome",
    "issue": [
        {
            "severity": "error",
            "code": "exception",
            "details": {
                "coding": [
                    {
                        "system": "http://hl7.org/fhir/ValueSet/operation-outcome",
                        "code": "HTTP 401 Unauthorized, Credentials are required to access this resource."
                    }
                ]
            }
        }
    ]
}

Megan McFeely

unread,
Dec 11, 2020, 10:13:36 AM12/11/20
to Data at the Point of Care Community
Hi Momin,

Thanks for reaching out! We identified an issue impacting DPC's currently issued sandbox credentials. The issue has been resolved, but users will need to generate a new client token on the DPC web portal. Details can be found in Alert: DPC Client Token Refresh Required.

Thanks!
Megan

Momin Shiraj

unread,
Dec 15, 2020, 6:32:51 AM12/15/20
to Data at the Point of Care Community
Hello,

Thank you, now I am able to accress the other APIs.

but when I try to "GET /api/v1/Patient/{id}/$everything"


{
  "resourceType": "OperationOutcome",
  "id": "570bc00993a9ba6f",
  "issue": [
    {
      "severity": "fatal",
      "details": {
        "text": "HTTP 401 Unauthorized"
      }
    }
  ]
}

Megan McFeely

unread,
Dec 15, 2020, 10:50:10 AM12/15/20
to Data at the Point of Care Community
Hi Momin,

It looks like this may be related to the issue identified in this "Patient Everything 404" post. We're in the process of finalizing the fix associated with that error, we will have another update by the end of this week.

Thanks!
Megan

Data at the Point of Care Community

unread,
Dec 18, 2020, 12:04:45 PM12/18/20
to Data at the Point of Care Community
Hi Momin,

Our team has deployed a fix, referenced in the Patient Everything 404 post. Please try making the request again and let us know if you continue to experience the error.

Best,
The DPC Team

Reply all
Reply to author
Forward
0 new messages