Open heisenberg2208 opened 3 years ago
works fine with python3.6+ and requirements are met (follow instructions to install requirements / dependencies). it could help if the message on console is shared here.
Actually I closed the console. And all the prerequisites are already met. Will paste the logs once face this issue again.
While checking in the website, make sure you're logged in. The Co-WIN page where you can check for slots without logging in is not reliable.
While checking in the website, make sure you're logged in. The Co-WIN page where you can check for slots without logging in is not reliable.
I was logged in. Apparently you can login through portal and through script at the same time also
That is weird. Logged in data shouldn't be different. Were you able to reproduce the issue?
Nah. Will try today again at the same time.
================================= ATTEMPTING BOOKING ================================================== Booking Response Code: 400 Booking Response : {"errorCode":"APPOIN0025","error":"The individual with with reference id xxxxxxxxx must be vaccinated with first dose before taking appointment for the second dose."} Response: 400 : {"errorCode":"APPOIN0025","error":"The individual with with reference id xxxxxxxxxx must be vaccinated with first dose before taking appointment for the second dose."} Press any key to continue . . . Traceback (most recent call last):
Could you send me the code you're using? This shouldn't have happened. Even better would be the whole log including the beneficiaries screen (with PIA redacted).
@heisenberg2208 I found the bug here and have fixed it in the latest version
If you run into this issue again, could you please update in #52
The bug was introduced due to that implementation
@pallupz That's cool I was also googling for a bit https://apisetu.gov.in/public/api/cowin#/Appointment%20Availability%20APIs/findByPin
In the first para it states that "The appointment availability data is cached and may be upto 30 minutes old."
Script was not able to show the available slots which were visible on the cowin website