@IntegrationSupport @Sachin we’re getting 400 Bad Request errors when calling POST https://dev.abdm.gov.in/gateway/v0.5/consents/hip/on-notify. Though earlier this api was working.
{
“error”: {
“code”: “ABDM-1015”,
“message”: “Invalid Response”
}
}
curl --location ‘https://dev.abdm.gov.in/gateway/v0.5/consents/hip/on-notify’ \
–header ‘Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJBbFJiNVdDbThUbTlFSl9JZk85ejA2ajlvQ3Y1MXBLS0ZrbkdiX1RCdkswIn0.eyJleHAiOjE3MDY4NjI5NDIsImlhdCI6MTcwNjg2MTc0MiwianRpIjoiM2MzNzg2MzMtNzk0Ny00YjgyLWJlM2YtYzdiN2Y1YTI4MjM3IiwiaXNzIjoiaHR0cHM6Ly9kZXYubmRobS5nb3YuaW4vYXV0aC9yZWFsbXMvY2VudHJhbC1yZWdpc3RyeSIsImF1ZCI6ImFjY291bnQiLCJzdWIiOiJhMWZmN2M1Zi0wMzc0LTRmZTgtYTdiZC05NjYxZmVhYmIwZDEiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJTQlhfMDA0NjAyIiwic2Vzc2lvbl9zdGF0ZSI6ImRiM2VhZGNkLTdjY2QtNDk3Yi1hZjllLTQyYTBiYWYwNmE4MSIsImFjciI6IjEiLCJhbGxvd2VkLW9yaWdpbnMiOlsiaHR0cDovL2xvY2FsaG9zdDo5MDA3Il0sInJlYWxtX2FjY2VzcyI6eyJyb2xlcyI6WyJoaXUiLCJvZmZsaW5lX2FjY2VzcyIsImhlYWx0aElkIiwiT0lEQyIsImhpcCJdfSwicmVzb3VyY2VfYWNjZXNzIjp7IlNCWF8wMDQ2MDIiOnsicm9sZXMiOlsidW1hX3Byb3RlY3Rpb24iXX0sImFjY291bnQiOnsicm9sZXMiOlsibWFuYWdlLWFjY291bnQiLCJtYW5hZ2UtYWNjb3VudC1saW5rcyIsInZpZXctcHJvZmlsZSJdfX0sInNjb3BlIjoib3BlbmlkIGVtYWlsIHByb2ZpbGUiLCJjbGllbnRIb3N0IjoiMTAwLjY1LjIwMy4yNDQiLCJlbWFpbF92ZXJpZmllZCI6ZmFsc2UsImNsaWVudElkIjoiU0JYXzAwNDYwMiIsInByZWZlcnJlZF91c2VybmFtZSI6InNlcnZpY2UtYWNjb3VudC1zYnhfMDA0NjAyIiwiY2xpZW50QWRkcmVzcyI6IjEwMC42NS4yMDMuMjQ0In0.Re51r9MIMl4s4v4UzvxeGybK4OheT8UuKFXWqwEfKHPkv3crS-roDqV4BFMdkRE3p0r3z5M9FEyGqJbv_QgXtnvN2cLWNyfZSrPMaNs5GSGOOSuvxavylPcyROp8kyPU0SkgZqSl5PgyBLKYq5wClQwINpoe6y5a5m8pTfxXvwBdEiCTSv-t5WYEG62ZUMO1fOTmFlGUqCk0oSXrs9oe8D60MN1x8vAoi5J_s6nur3-T_Gv5gze1vLdhpxSKLxogz9m5NoDgw5iKUBE6FfVD6NENZsN6f0bhfDF0skE5aGCsMm251xAgdDfzm5GDPBZNH6rFoDHSradc66CulP8dMQ’ \
–header ‘X-CM-ID: sbx’ \
–header ‘Content-Type: application/json’ \
–data '{
"requestId": "025280ce-c1a5-11ee-ba01-ad59e591d600",
"timestamp": "2024-02-02T08:28:14.779Z",
"acknowledgement": {
"status": "OK",
"consentId": "f164e69f-fb47-4265-90d9-421b9dc9bcca"
},
"resp": {
"requestId": "4814dd8b-c7a3-4425-9ead-a2f92c3b81a4"
}
}’