I am Trying to Update Mobile no in Profile, But In Verify OTP API got error as Invalid OTP.Kindly check attached Screenshot and Advice.
I have used below CURL.
curl --location --request POST ‘https://healthidsbx.abdm.gov.in/api/v2/account/change/mobile/new/verifyOTP’ \
–header ‘X-TOKEN: Bearer eyJhbGciOiJSUzUxMiJ9.eyJzdWIiOiIyMS03MTA4LTMyNTItMDUwNSIsImNsaWVudElkIjoiU0JYXzAwMDIwNSIsInN5c3RlbSI6IkFCSEEtTiIsIm1vYmlsZSI6Ijk4MTkyMjk3MDQiLCJoZWFsdGhJZCI6InJhanB1dGtodXNoaUBzYngiLCJleHAiOjE2NDY2NTA0MjAsImhlYWx0aElkTnVtYmVyIjoiMjEtNzEwOC0zMjUyLTA1MDUiLCJpYXQiOjE2NDY2NDg2MjB9.nZswGoJpfwoSpFAxdbjh9GzlmSiu73FiDltRFCkn-6EBxvYrB6sWc2ujvvAg3MMu13STtowUB03LcXUBohydNraF9GphHMdTeAxkG8Ih9s8Y0lU6cYmoYEGwPfg-WVm-9FSdgokDDz3Lkn974tRf0nWZXSeKQZwT_q31WV_qDPSro0Pl9V6MQd6BjqzSPKGCDTK0RrkP1O3W3MKU9flLmYjeqkLQMsGyn2osFrmTlPojywwpRMylk54qyvIiDUckxZ2lmKrJuzmPB4bR7UAdztHJLr1G73RNtUXhC-ipuqXdSML54v_tbhuQ7RBCNgKEeVu4UDH26CP6CuVHuc-NokY0tvpYJl5qRQlrFcZ17d2kcb81a4sYrVYmMaELJgcyMuU_d10nbiWXb1YjwT_UzY7iJ5ndnVUOFGG1tySeEvaSzgbvwFsKnRqweT0fl6wywR4MaSYZsIr2vg2EV9VfDwaYYoKfvSn6bu3uD2CSGWP8A9qYKDUS-cEWeYJ_sD14Dy2jUbjjMbVoWQtYQblBMl8g8LohRbOQ1hbnDLn80W7HdTlUx0oOiMdz9EJIrNnA51JaiFGDIQWEpyEwenLvrAsRVjiBA3SEgzzBLhdwIDIkG3gRDhQrmTrHU-oXURt7TOgjx-digpd_Pz0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VycmVkX3VzZXJuYW1lIjoic2VydmljZS1hY2NvdW50LXNieF8wMDAyMDUiLCJjbGllbnRBZGRyZXNzIjoiMTAuMjMzLjY5LjIxOCJ9.O4bnFqQTr8JCTWCLTLonT5j9Xfjbb35YPZNvrUE1LVH0cdidikBVDOqe6aYYxRoeaqWQyBt-p_9mtLomgiB5d6f5mcvQ4vWDf99W0RDm9N0zXIOmDV-iXARP-GO8r8RuJ6RF_vV5N7UnLaRznjYWl-VA698sVF1WbBZDHN0MN9qFQqAFmiRqrex_WdD2G4wQAxAJJ_19gGoZqgY2kjAETvF83XMVjjfKMYK-csh9kuH8y9RX3h-Oh22sRnUivP8lqf6weagEy8gvfHv6qLls6SzxNXWGkFuekiDXvRTi8m-y5w4ds8T-1-HJdQ0fI05jY5aRkwuUoBpx4ra1LuIN9w’ \
–header ‘Content-Type: application/json’
–data-raw ‘{
“txnId”: “625da1a8-a87c-4a59-b8f3-c4cd095f0c14”,
“otp”:“308554”
}’