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

Status Code: 500 reported when trying to book slot for People with second dose due date crossed #261

Open mrsimple1982 opened 3 years ago

mrsimple1982 commented 3 years ago

Status Code: 500 reported when trying to book a slot for People with the second dose due date crossed.

At many places, there is less or no stock of vaccines. As a result, few people missed taking their second dose within the due date. When we try to book vaccine appointments for such people the system does not show any error message nor is the transaction complete. Status 500 is visible in the browser console but no message given to the user. Please fix the issue otherwise these people will not be able to book an appointment.

mrsimple1982 commented 3 years ago

Can anyone please check on this?

KeyboardWielder commented 3 years ago

I confirm and second this: We are using the official COWIN website to book a slot for the 2nd dose of Covaxin for my parents (both 60+). In the 6th week, though we did get an appointment successfully, the next day we were told that it was cancelled due to unavailability. This is in Mumbai where Covaxin stocks are very limited. So now, the 2nd dose is overdue, but in the last 2 weeks, even when we are finally able to get a slot, clicking Confirm just does not do anything. But checking the HTTP response (in Firefox Inspector) shows that each click of Confirm returns a status code of 500 Internal Server Error. This has happened for 3-4 days now.

It is not a login timeout issue: It happens even < 5 minutes since login, and we have even tried Logout and Login back with a new OTP. Slots were not already booked: After some failed attempts, on going back to retry, the available count was still 20+ (down from 50+ earlier). The captcha was correct: I double-checked the captcha image saved from the Response and the value submitted in the JSON of the next POST request - they matched.

The only possible explanation is that it does not book the request because the dose 2 due date has been crossed. This is really bad, because each day of additional delay between doses is potentially reducing the efficacy in case of Covaxin - as per current research. So those who need it the earliest, are not able to get it. If this goes on, all such people may end up needing a 3rd dose of a vaccine already low in availability, which neither helps them nor others. So please understand the importance of this and fix this at the earliest (or clarify if it is intentional).

Thanks.

KeyboardWielder commented 3 years ago

We were finally able to book today: So looks like the issue has been fixed. Thanks!