Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Unable to request data from BCDA API

124 views
Skip to first unread message

Ashvani goyal

unread,
Feb 27, 2025, 8:10:10 AMFeb 27
to Beneficiary Claims Data API (BCDA) Community

Hi BCDA Community,

I am currently facing an issue while requesting data from the BCDA API.

Below are the details of my request parameters:
Regular API Endpoint:
https://api.bcda.cms.gov/api/v2/Group/all/$export?_since={since_date}

Runout API Endpoint:
https://api.bcda.cms.gov/api/v2/Group/runout/$export?_since={since_date}

Request Headers:
{
  "Accept": "application/fhir+json",
  "Authorization": "Bearer {access_token}",
  "Prefer": "respond-async"
}

I have successfully obtained the access token, but when I make the request to the API endpoint, I receive a 500 Internal Server Error.

Could you please help me identify the possible reasons for this error or suggest troubleshooting steps?

Thank you for your support.

Best regards,
Ashvani Goyal

Jeff Killer

unread,
Feb 27, 2025, 2:58:27 PMFeb 27
to Beneficiary Claims Data API (BCDA) Community
I'm having the same issue with Sandbox.
https://sandbox.bcda.cms.gov/api/v2/Group/all/$export

Request Headers:
{
  "Accept": "application/fhir+json",
  "Authorization": "Bearer {access_token}",
  "Prefer": "respond-async"
}

As above, the token is no problem, however the api endpoint returns:

{
    "issue": [
        {
            "code": "exception",
            "details": {
                "coding": [
                    {
                        "code": "Request Error",
                        "display": "Internal Error",
                        "system": "http://hl7.org/fhir/ValueSet/operation-outcome"
                    }
                ],
                "text": "Internal Error"
            },
            "diagnostics": "Internal Error",
            "severity": "error"
        }
    ],
    "resourceType": "OperationOutcome"
}

Thank you,
Jeff
Reply all
Reply to author
Forward
0 new messages