Open NHLSougata opened 2 years ago
I send secret in the header under the name x-api-key as mentioned in the documentation. my error changed to {"errorCode":"USRAUT0015", "error":"Your account does not exist"} and Im still not getting any top. Can anyone help?
I am using API key: 3sjOr2rmM52GzhpMHjDEE1kpQeRxwFDr4YcBEimi to access protected sandbox server. This key is there in API Setu for testing. But it is not working. Is there any Key that would work?
API: https://cdndemo-api.co-vin.in/api/v2/auth/generateOTP Request: { "mobile": "9xxxxxxxx6", "secret":"3sjOr2rmM52GzhpMHjDEE1kpQeRxwFDr4YcBEimi" }
Response: { "message": "Forbidden" }
Add the header "x-api-key" : "3sjOr2rmM52GzhpMHjDEE1kpQeRxwFDr4YcBEimi" as shown in screenshot
and pass the mobile number in body { "mobile": "9967XXXXXX" }
it will work
Add the header "x-api-key" : "3sjOr2rmM52GzhpMHjDEE1kpQeRxwFDr4YcBEimi" as shown in screenshot
and pass the mobile number in body { "mobile": "9967XXXXXX" }
it will work
You are using V2. Did anyone /v3/vaccination/status ?
I am using API key: 3sjOr2rmM52GzhpMHjDEE1kpQeRxwFDr4YcBEimi to access protected sandbox server. This key is there in API Setu for testing. But it is not working. Is there any Key that would work?
API: https://cdndemo-api.co-vin.in/api/v2/auth/generateOTP Request: { "mobile": "9xxxxxxxx6", "secret":"3sjOr2rmM52GzhpMHjDEE1kpQeRxwFDr4YcBEimi" }
Response: { "message": "Forbidden" }