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

appointment/beneficiaries - Unauthenticated access! #458

Closed webloper closed 3 years ago

webloper commented 3 years ago

curl -X GET "https://cdndemo-api.co-vin.in/api/v2/appointment/beneficiaries" -H "accept: application/json" -H "Authorization: Bearer xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"

Getting Response - 401

Unauthenticated access!

big89 commented 3 years ago

It seems that your Authorization Bearer token is no more valid. Please try once again by passing valid once and confirm as its working for me.

Thanks & Regards, Logicmaker

webloper commented 3 years ago

@big89 Hi I have checked thrice, every time i am getting the same error

webloper commented 3 years ago

Closing as Its working, For OTP generation we have to use /v2/auth/generateOTP not /v2/auth/public/generateOTP