Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Synthetic BCDA 404 Error

73 views
Skip to first unread message

Nate Zbacnik

unread,
May 10, 2024, 3:25:25 PM5/10/24
to Beneficiary Claims Data API (BCDA) Community
Hello,

I am trying to follow the guide to download synthetic BCDA data and keep running into a 404 error. I successfully obtain the access token, but the 'start a job' step returns the error in the screenshot. If I change the access token it throws an invalid token error, so the token is successfully being used, but then it all 404s out.

 Has anyone else seen this? I am unsure how to proceed. I have tried on each of the different sized sample datasets with the same error.

Thanks!
-Nate
BCDA connection error.png

Beneficiary Claims Data API (BCDA) Community

unread,
May 10, 2024, 6:11:38 PM5/10/24
to Beneficiary Claims Data API (BCDA) Community
Hi Nate,

It looks like you're using PowerShell, but please let us know if that's not the case. You'll need to escape the $export operator with a backslash character (\) like so: "https://sandbox.bcda.cms.gov/api/v2/Group/all/\$export".

Please try using the following command and let us know the results.

curl -X GET "https://sandbox.bcda.cms.gov/api/v2/Group/all/\$export" `
-H "accept: application/fhir+json" `
-H "Prefer: respond-async" `
-H "Authorization: Bearer {access_token}" `
-v


Best,
The BCDA Team

Nate Zbacnik

unread,
May 13, 2024, 11:25:28 AM5/13/24
to Beneficiary Claims Data API (BCDA) Community
Thanks for the quick response. I was not using powershell but your response helped me troubleshoot. Ended up using command prompt instead of ubuntu through wsl.

I am now able to get a job with the synthetic data kicked off, but the job returns many errors. I get a lot of "OperationOutcome" error files with hundreds of errors like:

{"issue":[{"code":"not-found","diagnostics":"Error retrieving BlueButton ID for cclfBeneficiary MBI XXXXXXXXXX","severity":"error"}],"resourceType":"OperationOutcome"}
{"issue":[{"code":"not-found","diagnostics":"Error retrieving BlueButton ID for cclfBeneficiary MBI  YYYYYYYYYY","severity":"error"}],"resourceType":"OperationOutcome"}

Is this typical when downloading the larger synthetic files? 

For reference, this is job 68422.

Beneficiary Claims Data API (BCDA) Community

unread,
May 14, 2024, 10:28:00 AM5/14/24
to Beneficiary Claims Data API (BCDA) Community
Hi Nate,

Thanks for your question regarding the "OperationOutcome" error files in the sandbox data. We're reviewing the information you shared and will get back to you shortly.

Best,
The BCDA Team
Reply all
Reply to author
Forward
0 new messages