cowinapi / developer.cowin

This group is created to facilitate technical and integration discussions related to cowin platform. API related contents can be obtained at API setu portal https://apisetu.gov.in/public/marketplace/api/cowin
115 stars 30 forks source link

Protected API is not working #522

Open rajbestdoc opened 2 years ago

rajbestdoc commented 2 years ago

protected API is working in postman but not working in official swagger and not working from program... we are getting 403 in response.

Screen Shot 2021-08-12 at 10 32 27
ankurparihar commented 2 years ago

Its because they have enabled CORS. The different ways to try out now

imbhuwan commented 2 years ago

protected API is working in postman but not working in official swagger and not working from program... we are getting 403 in response.

Screen Shot 2021-08-12 at 10 32 27

Is this issue is resolved? If yes, how?

Aniket-IN commented 2 years ago

Error I'm getting ` <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

ERROR: The request could not be satisfied

403 ERROR

The request could not be satisfied.


Request blocked. We can't connect to the server for this app or website at this time. There might be too much traffic or a configuration error. Try again later, or contact the a ▶
If you provide content to customers through CloudFront, you can find steps to troubleshoot and help prevent this error by reviewing the CloudFront documentation ▶

Generated by cloudfront (CloudFront)
Request ID: XtfrbHIr20xnCY2r1TMNDPXD2zGTcIg-IsJq1iRfW1zapQjsymgv_Q==

`

I'm also having this issue as my hosting provider having non-Indian IP.

My cowin API application is approved. just wanted to know, would I be able to use the API after whitelisting the IP? I mean can we whitelist the outside India IP?

Does someone have any clue about this?

Thanks in advance :)