pallupz / covid-vaccine-booking

This tool can be used to automate booking slots on Co-WIN Platform.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

OTP not validating

Dugdudada opened this issue · comments

otp is not getting validated .

Enter OTP (If this takes more than 2 minutes, press Enter to retry): 181596
Validating OTP..
Unable to Validate OTP
Response: {"message": "Endpoint request timed out"}

yes getting this error

This fixed the error:-
base_request_header = {
'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.212 Safari/537.36 Edg/90.0.818.66',
'origin': 'https://selfregistration.cowin.gov.in',
'referer': 'https://selfregistration.cowin.gov.in/'
}

it should be fixed in the latest code