Hi @IntegrationSupport @Shubhanshu_S,
When using the share profile API: https://dev.abdm.gov.in/cm/v1/patients/profile/share
I got this error
{
“error”: {
“code”: 1500,
“message”: “Error from Plenome001,Error in making call to target system Content type ‘text/html;charset=iso-8859-1’ not supported for bodyType=java.util.HashMap<?, ?>,Please try again”
}
}
and this is the payload I am sending:
[15:20] Velu Karthick
curl --location ‘https://dev.abdm.gov.in/cm/v1/patients/profile/share’ \
–header ‘X-Auth-Token: Bearer eyJhbGciOiJSUzUxMiJ9.eyJwaW5jb2RlIjoiNjI1MDExIiwic3ViIjoicHJpeWF2ZWx1QHNieCIsImNsaWVudElkIjoiU0JYXzAwMjkyOCIsInJlcXVlc3RlcklkIjoiUEhSLVdFQiIsImdlbmRlciI6Ik0iLCJkaXN0cmljdE5hbWUiOiJNQURVUkFJIiwibW9iaWxlIjoiNzA5MjMyNzY2NyIsImZ1bGxOYW1lIjoiVmVsdSBLYXJ0aGljayBNIiwiYWRkcmVzc0xpbmUiOiJDL08gTXVydWdhbiAzLzUxNyBWQUxMQUJBIEdBTkFQQVRISSBTQUxBSSBESElOQU1BTkkgTkFHQVIgS292aWxwYXBha3VkaSIsImhlYWx0aElkTnVtYmVyIjoiOTEtMjYzMy0xNTgyLTQ4NjYiLCJtb250aE9mQmlydGgiOiIzIiwic3lzdGVtIjoiQUJIQS1BIiwic3RhdGVOYW1lIjoiVEFNSUwgTkFEVSIsImRheU9mQmlydGgiOiIyMiIsInBock1vYmlsZSI6IjcwOTIzMjc2NjciLCJleHAiOjE3MDEzMzcxMTMsImlhdCI6MTcwMDczMjMxMywicGhyQWRkcmVzcyI6InByaXlhdmVsdUBzYngiLCJlbWFpbCI6bnVsbCwidHhuSWQiOiJjNjc5M2NkMS05YzE5LTRjOGItOWU4My03NDFkY2IxMGE0M2UiLCJ5ZWFyT2ZCaXJ0aCI6IjIwMDEifQ.YX1CS6R4G6h9UatYFXD7SY46urWLaUa5f4Zumw7JfX6og3GqiaXvYx7rtm7cJebRj9Ofs3LNwXIWiFBYqvdHh-udOwKRrS7cC1ClVC92C1wd1u3eHkx4m8N-BjOa3_biraXaQE27Bu2L3yg4ZVoDvCqUt4mUFe9-UbtohturCEAxVzKInMK2k1FWFmc_so3-dhrKCEBueYq3DdvRvXyoGRKpayAmFWcqvG5pepoQ7X6iLFmMezN0LmtLpKW9W4I5CGK4OLIuUj_qP5Fz-Qap4EYxxTtxTCij1KD4jn4XozIvyVCgtaOX0S4yLm0FOKDCx692FXMchjOg_p44tEqj2w’ \
–header ‘Content-Type: application/json’ \
–data '{
"requestId": "e96d548a-8a95-44d5-a450-94fd2c75b58b",
"intent": {
"type": "REGISTRATION"
},
"location": {
"latitude": "",
"longitude": ""
},
"hipDetails": {
"hipId": "1234567",
"code": "Blocktrack"
},
"source": "ANDROID"
}’
Can you please help me with this.