Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Re: curl: (28) Failed to connect to api.bcda.cms.gov port 443 after 300026 ms: Timeout was reached

53 views
Skip to first unread message

Nikunj Mangukiya

unread,
May 8, 2024, 3:15:18 AM5/8/24
to Beneficiary Claims Data API (BCDA) Community
Hi Team, 

I am trying to connect to BCDA sandbox but getting Error while start a job to get download file link, i am able to get access token but not able to start job.

Getting this Error : curl: (28) Failed to connect to api.bcda.cms.gov port 443 after 300026 ms: Timeout was reached
 

using this command: curl -X GET "https://api.bcda.cms.gov/api/v2/Group/all/$export" -H "accept: application/fhir+json" -H "Prefer: respond-async" -H "Authorization: Bearer {token}"

Regards, Nikunj

Beneficiary Claims Data API (BCDA) Community

unread,
May 8, 2024, 10:53:02 AM5/8/24
to Beneficiary Claims Data API (BCDA) Community
Hi Nikunj,

Thanks for reaching out and welcome to the BCDA community!

It looks like the command you used specifies the BCDA production environment (api.bcda.cms.gov) which requires all requests be made from an approved IP address. When using the BCDA sandbox, please be sure to use the URL for the sandbox environment (sandbox.bcda.cms.gov). You can find examples of curl requests for the sandbox environment in the Try the API section of the BCDA website.

Thanks,
The BCDA Team

Nikunj Mangukiya

unread,
May 10, 2024, 10:42:45 AM5/10/24
to Beneficiary Claims Data API (BCDA) Community
Hi Team, 
when i try using sandbox url i am getting 404
below is the url i am using
-H "accept: application/fhir+json" \
-H "Prefer: respond-async" \
-H "Authorization: Bearer {access_token}" \
-v response:


< HTTP/2 404 

< date: Wed, 08 May 2024 15:53:07 GMT

< content-type: text/plain; charset=utf-8

< content-length: 19

< cache-control: no-cache; no-store; must-revalidate; max-age=0

< pragma: no-cache

< strict-transport-security: max-age=31536000; includeSubDomains; preload

< x-content-type-options: nosniff

< 

404 page not found

* Connection #0 to host sandbox.bcda.cms.gov left intact


--
You received this message because you are subscribed to a topic in the Google Groups "Beneficiary Claims Data API (BCDA) Community" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/bc-api/xgTiBmDbkNo/unsubscribe.
To unsubscribe from this group and all its topics, send an email to bc-api+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bc-api/3447ac76-f7e7-4ae9-bef5-1094f5d97f07n%40googlegroups.com.
Reply all
Reply to author
Forward
Message has been deleted
0 new messages