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
404 Error while creating Health ID with aadhar #554
Can anyone confirm what is happening wrong here? I don't see any clear message that why I am not authorized for the API call when I am able to do an API call to generate the Aadhar OTP for the same.
Hi Team,
I am creating a Health ID using the V2 API. In the end when I call “/v2/registration/aadhaar/confirm” it give 401 error.
Following is the request:
{ "txnId": "64974e3b-d111-4790-9e6a-b7126526650e", "consent": true, "consentVersion": "v1.0" } Header Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpYXQiOjE2NDE2NDMyNTUsImhpcF9pZCI6IklOMjcxMDAwMDAwMiIsImNsaWVudF9pZCI6IjMyMGRiYzYwMjRkNjIxYzJjZTY0IiwianRpIjoiNGEyOWRjNjEtNzUwZS00MzRlLTg5MjMtYTYxMDAwZDkzNDkwIiwiZXhwIjoxNjQxNjQzMzc1fQ.Z80MNR6bmsPKcfQzh-DD-ZPDqOBggigbU6ycRCpOaFQ
Can anyone confirm what is happening wrong here? I don't see any clear message that why I am not authorized for the API call when I am able to do an API call to generate the Aadhar OTP for the same.