HTTP 404 Not Found - Download Patient Data Export File

56 views
Skip to first unread message

Joshva Silvasstar

unread,
Feb 2, 2022, 8:09:13 PM2/2/22
to Data at the Point of Care (DPC) Community
I am working off of the postman collection. I am working on this section:Usage: FHIR Bulk Data API Data Export Functions. I was able to get the status of the export job. But I am getting the 404 error while I execute this:

{{baseUrl}}/api/v1/Data/{{patient_file}}

I created a 'patient_file variable in the environment based on the url returned in get status step.


If I click on this url, I get a 'Credentials are required to access this resource.' webpage.

Regards,
Josh

Data at the Point of Care (DPC) API Team

unread,
Feb 7, 2022, 12:05:18 PM2/7/22
to Data at the Point of Care (DPC) Community
Hi Josh,

Thanks for reaching out! Our team is working to get you a response and we'll get back to you shortly. 

Thanks!
The DPC API Team

Data at the Point of Care (DPC) API Team

unread,
Feb 8, 2022, 8:33:23 AM2/8/22
to Data at the Point of Care (DPC) Community

Hi Josh,

You will need to call the url with the following authorization header set.

curl --location -g --request GET 'https://sandbox.dpc.cms.gov/api/v1/Data/{{patient_file}}' \ --header 'Authorization: Bearer {access_token}'

Clicking the link will not generate a credential.

Please let us know if you continue to receive this error or if you have any further questions.

Thanks
The DPC API Team

Reply all
Reply to author
Forward
0 new messages