Hi Team,
I am getting error for discover api
sample curl
curl --location --request POST ‘https://dev.abdm.gov.in/cm/v1/care-contexts/discover’
–header ‘Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJBbFJiNVdDbThUbTlFSl9JZk85ejA2ajlvQ3Y1MXBLS0ZrbkdiX1RCdkswIn0.eyJleHAiOjE2NDI0ODUwOTEsImlhdCI6MTY0MjQ4NDQ5MSwianRpIjoiZjRlZTBmZDYtNjQyYi00OGRhLWJlM2UtNjQ0NDA5M2ZjYWNiIiwiaXNzIjoiaHR0cHM6Ly9kZXYubmRobS5nb3YuaW4vYXV0aC9yZWFsbXMvY2VudHJhbC1yZWdpc3RyeSIsImF1ZCI6ImFjY291bnQiLCJzdWIiOiJhNzIxM2I3MS0zZWExLTQ1OGEtOGYyNC0yZDFiMWFlZDg5ZDQiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJTQlhfMDAwNDAyIiwic2Vzc2lvbl9zdGF0ZSI6Ijc1ODE3MTg2LWNiZTQtNGZhYi05ZTBmLTIyMTdhMDQ2OGVmNSIsImFjciI6IjEiLCJhbGxvd2VkLW9yaWdpbnMiOlsiaHR0cDovL2xvY2FsaG9zdDo5MDA3Il0sInJlYWxtX2FjY2VzcyI6eyJyb2xlcyI6WyJoaXUiLCJvZmZsaW5lX2FjY2VzcyIsImhlYWx0aElkIiwiT0lEQyIsImhpcCJdfSwicmVzb3VyY2VfYWNjZXNzIjp7IlNCWF8wMDA0MDIiOnsicm9sZXMiOlsidW1hX3Byb3RlY3Rpb24iXX0sImFjY291bnQiOnsicm9sZXMiOlsibWFuYWdlLWFjY291bnQiLCJtYW5hZ2UtYWNjb3VudC1saW5rcyIsInZpZXctcHJvZmlsZSJdfX0sInNjb3BlIjoib3BlbmlkIGVtYWlsIHByb2ZpbGUiLCJjbGllbnRIb3N0IjoiMTAuMjMzLjY5LjEyNiIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwiY2xpZW50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eAB8FpFjJzd9masaQO6Y4Mk-_SD-LJib4iMbyzeUuBrWFQOuGQpCt3fOuoxbxW006fpWXtWCJZBr-zWSjr1NivOVvmmvDXzr-onEv8n5FqtpWrO2NghnDzSFJoeWyJMgJRlRaXpQyNRmLSGfFBmfl1qL2nj0GWggaOdUoUM2bIaSgQ_52gfxM8ZKYFDY0roJCfX5brXcZfrTlbe8IywPtMzLK0blGrUX1T7arkEhDBuUaJYKzVems3qI7gWsO5ehDf_CSaEUA8oUsCSp7q8IjUWlv6MJmv68gI5quVQKPwxgKXWAq_ihZgNS4QN563m0HLuR803_uH4SUPFfacUjM1c15HlwV2MzTJ7Fa0N35_4zzYimSkwYQ-0dd-Vh45DYKiPDUk’
–header ‘Content-Type: application/json’
–header ‘Cookie: TS011c04bd=01115a1c90dbbbab7bd90664d0f43bb6a4d5c373969e6614bc44e78f8f6acbf1f3c7563ea870409b5b95211d5a06b16c8bb702e9ff’
–data-raw ‘{
“requestId”: “134df240-ec16-4926-be3d-e9c674a1cc54”,
“hip”: {
“id”: “IN3410000223”
}
}’
Response
{
“error”: {
“code”: 1500,
“message”: “Could not find the user details”
}
}