Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unable to download appointment slip #440

Closed
suraj-deshmukh opened this issue Jun 14, 2021 · 7 comments
Closed

unable to download appointment slip #440

suraj-deshmukh opened this issue Jun 14, 2021 · 7 comments

Comments

@suraj-deshmukh
Copy link

i am trying to download appointment slip through python request module but i am getting below error msg

In [28]: pdf = session.get("https://cdn-api.co-vin.in/api/v2/appointment/appointmentslip/download?appointment_id=5c34fc4a-4f6f-480b-9f4c-6d03eebc7f00")
In [29]: print(pdf)                                                                                                                                                                                         
<Response [504]>
In [30]: pdf.json()                                                                                                                                                                                         
Out[30]: {'message': 'Endpoint request timed out'}

session used here is authenticated one. I am facing same issue from cowin portal as well.

slip

@shababps
Copy link

How you got the appointment id?

@suraj-deshmukh
Copy link
Author

I booked the appointment today that's why I got appointment id

@shababps
Copy link

Where does it displays on dashboard?
You hashed it right ?

@shababps
Copy link

Downloading appointment slip needs to use protected API. You have to get API key from them by register on the link provided above the API Development Page.

@suraj-deshmukh
Copy link
Author

suraj-deshmukh commented Jun 15, 2021

Where does it displays on dashboard?
You hashed it right ?

You won't be able to see appointment id on dashboard unless you open browser in inspect mode. What i am trying to show here is even from portal it is getting timeout.

@shababps
Copy link

shababps commented Jun 15, 2021 via email

@suraj-deshmukh
Copy link
Author

I guess issue is resolved now bcz I am able to download appointment slip.

Closing this issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants