Dear @IntegrationSupport
We are facing issues while generating/getting QR code and Generating the ABHA Card.
- We are using below request for QR code but it gives error in response with message like “The requested URL was rejected. Please consult with your administrator.”
curl --location ‘https://dev.abdm.gov.in/cm/v1/apps/patients/profile/qr-code’
–header ‘Accept: application/json’
–header ‘Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJBbFJiNVdDbThUbTlFSl9JZk85ejA2ajlvQ3Y1MXBLS0ZrbkdiX1RCdkswIn0.eyJleHAiOjE2ODAyNTkxNTQsImlhdCI6MTY4MDI1ODU1NCwianRpIjoiYTU1NjNhNTQtYjM0Yy00NTU3LWI5YmUtZGQ3NDlkY2YyNzU2IiwiaXNzIjoiaHR0cHM6Ly9kZXYubmRobS5nb3YuaW4vYXV0aC9yZWFsbXMvY2VudHJhbC1yZWdpc3RyeSIsImF1ZCI6ImFjY291bnQiLCJzdWIiOiJhYmJlNTM5OS1kODE3LTQwZjAtYmNiMi0wNDY1YmQ3NzA5NmMiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJTQlhfMDAxNjk5Iiwic2Vzc2lvbl9zdGF0ZSI6ImY2YTVkNTVlLTZmOTYtNDNjMS05OGYzLTNiY2Q1OWE1ZjZlMiIsImFjciI6IjEiLCJhbGxvd2VkLW9yaWdpbnMiOlsiaHR0cDovL2xvY2FsaG9zdDo5MDA3Il0sInJlYWxtX2FjY2VzcyI6eyJyb2xlcyI6WyJoaXUiLCJvZmZsaW5lX2FjY2VzcyIsImhlYWx0aElkIiwicGhyIiwiT0lEQyIsImhlYWx0aF9sb2NrZXIiLCJoaXAiXX0sInJlc291cmNlX2FjY2VzcyI6eyJTQlhfMDAxNjk5Ijp7InJvbGVzIjpbInVtYV9wcm90ZWN0aW9uIl19LCJhY2NvdW50Ijp7InJvbGVzIjpbIm1hbmFnZS1hY2NvdW50IiwibWFuYWdlLWFjY291bnQtbGlua3MiLCJ2aWV3LXByb2ZpbGUiXX19LCJzY29wZSI6Im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OiIyNyIsInBock1vYmlsZSI6Ijk5MjQ4MzgwNTkiLCJleHAiOjE2ODAyNjYxMzAsImlhdCI6MTY4MDI1ODkzMCwicGhyQWRkcmVzcyI6ImJoYXR0LmRocnV2aTI3QHNieCIsImVtYWlsIjoiZGhydXZpYmhhdHQyNzc5OUBnbWFpbC5jb20iLCJ0eG5JZCI6ImE4NWExNzZjLTM1MWYtNGNmMy04YTM5LWMxOTZmNDcwYjhlMyIsInllYXJPZkJpcnRoIjoiMTk5OSJ9.Xgx1rD9Pk973fyLplCtklcyniDToCzzUDI95xckVTO6t6s0tvVgGWLDKEOV_G2kErcTK6knqCV64NIxUfPoiGeMlny9WTlAnydKrptkXKLly5oCLwNth1XWBN-RTYId7HjblpJRf9RTaTYiU6eiwxypd7v1WMLIXxgoiyd–PxcolC3gZIJL4DZ1YKw_HcOuDg41bi9WYdFhAacgKCX4k1IA__OPSFgmmPF4pnlZzYHo-md4LlJYL6tJgktLz_3KocJFKnHf7NGQ_tpu8wjPEA-FpZv5272yZE-gJU_wGC0aOxL6cfNOFnzjJSuniUvvSMJsS6g7yU12fFYYyXf0Pg’
–header ‘Cookie: TS011c04bd=01445fed04353f9178047fa72b70b6776c0d1531ed00ebf48257fba1c0ae30dba64deb5670a829f7bc76cc2a072d529cd33e331032’
QR code response:
Request Rejected The requested URL was rejected. Please consult with your administrator.Your support ID is: 5170449211556688126
[Go Back]
- We are using below request for get Card(ABHA card) but it gives similar error in response. “The requested URL was rejected. Please consult with your administrator.”
getCard:
curlUrl:
curl --location ‘https://dev.abdm.gov.in/cm/v1/apps/patients/profile/getCard’
–header ‘x-auth-token: Bearer eyJhbGciOiJSUzUxMiJ9.eyJwaW5jb2RlIjoiMzYwMzcwIiwic3ViIjoiYmhhdHQuZGhydXZpMjdAc2J4IiwiY2xpZW50SWQiOiJTQlhfMDAxNjk5IiwicmVxdWVzdGVySWQiOiJQSFItV0VCIiwiZ2VuZGVyIjoiTSIsImRpc3RyaWN0TmFtZSI6IkJBR0FMS09URSIsIm1vYmlsZSI6Ijk5MjQ4MzgwNTkiLCJmdWxsTmFtZSI6ImRocnV2aSBoaXJlbmJoYWkgYmhhdHQiLCJhZGRyZXNzTGluZSI6InRpbmJhdGkgY2hvd2ssIG5lYXIgZ2FyZGVyLCBqZXRwdXIiLCJoZWFsdGhJZE51bWJlciI6bnVsbCwibW9udGhPZkJpcnRoIjoiNyIsInN5c3RlbSI6IkFCSEEtQSIsInN0YXRlTmFtZSI6IktBUk5BVEFLQSIsImRheU9mQmlydGgiOiIyNyIsInBock1vYmlsZSI6Ijk5MjQ4MzgwNTkiLCJleHAiOjE2ODAyNjYxMzAsImlhdCI6MTY4MDI1ODkzMCwicGhyQWRkcmVzcyI6ImJoYXR0LmRocnV2aTI3QHNieCIsImVtYWlsIjoiZGhydXZpYmhhdHQyNzc5OUBnbWFpbC5jb20iLCJ0eG5JZCI6ImE4NWExNzZjLTM1MWYtNGNmMy04YTM5LWMxOTZmNDcwYjhlMyIsInllYXJPZkJpcnRoIjoiMTk5OSJ9.Xgx1rD9Pk973fyLplCtklcyniDToCzzUDI95xckVTO6t6s0tvVgGWLDKEOV_G2kErcTK6knqCV64NIxUfPoiGeMlny9WTlAnydKrptkXKLly5oCLwNth1XWBN-RTYId7HjblpJRf9RTaTYiU6eiwxypd7v1WMLIXxgoiyd–PxcolC3gZIJL4DZ1YKw_HcOuDg41bi9WYdFhAacgKCX4k1IA__OPSFgmmPF4pnlZzYHo-md4LlJYL6tJgktLz_3KocJFKnHf7NGQ_tpu8wjPEA-FpZv5272yZE-gJU_wGC0aOxL6cfNOFnzjJSuniUvvSMJsS6g7yU12fFYYyXf0Pg’
–header ‘Accept: application/json’
–header ‘Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJBbFJiNVdDbThUbTlFSl9JZk85ejA2ajlvQ3Y1MXBLS0ZrbkdiX1RCdkswIn0.eyJleHAiOjE2ODAyNTkxNTQsImlhdCI6MTY4MDI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CH2NtbHbkpnc7tNyOTvikD-nXewhVqSlFbN5ALslznhppB4VZsFJExU4gIt3RhI9pbRBUq-HD0kWuCSRWJDXVJKgEIdXxn_0otfiNdTl3SgRtr3hx4PThP7o7tyeeYaMM6yONZNS9bTl8fUWz78xOPLigkyXChTxRKD3wXJm76pvBzeKfOXI_bYDAXLYN4zWTaZgC21SXu6ftG7Ke6JsllAJVRMAQh8ekaLjKRhpsGsWbdpJt9mFqoj8axCyh2gmJiA_j0UaCzw’
–header ‘Cookie: TS011c04bd=01445fed04353f9178047fa72b70b6776c0d1531ed00ebf48257fba1c0ae30dba64deb5670a829f7bc76cc2a072d529cd33e331032’
REsponse:
Request Rejected The requested URL was rejected. Please consult with your administrator.Your support ID is: 5170449211529872929
[Go Back]
Please help us to resolve this points.
Thanks,
Tejash