P1 API issues: Generating QR code and Generating the ABHA Card

Dear @IntegrationSupport

We are facing issues while generating/getting QR code and Generating the ABHA Card.

  1. 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.eyJleHAiOjE2ODAyNTkxNTQsImlhdCI6MTY4MDI1ODU1NCwianRpIjoiYTU1NjNhNTQtYjM0Yy00NTU3LWI5YmUtZGQ3NDlkY2YyNzU2IiwiaXNzIjoiaHR0cHM6Ly9kZXYubmRobS5nb3YuaW4vYXV0aC9yZWFsbXMvY2VudHJhbC1yZWdpc3RyeSIsImF1ZCI6ImFjY291bnQiLCJzdWIiOiJhYmJlNTM5OS1kODE3LTQwZjAtYmNiMi0wNDY1YmQ3NzA5NmMiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJTQlhfMDAxNjk5Iiwic2Vzc2lvbl9zdGF0ZSI6ImY2YTVkNTVlLTZmOTYtNDNjMS05OGYzLTNiY2Q1OWE1ZjZlMiIsImFjciI6IjEiLCJhbGxvd2VkLW9yaWdpbnMiOlsiaHR0cDovL2xvY2FsaG9zdDo5MDA3Il0sInJlYWxtX2FjY2VzcyI6eyJyb2xlcyI6WyJoaXUiLCJvZmZsaW5lX2FjY2VzcyIsImhlYWx0aElkIiwicGhyIiwiT0lEQyIsImhlYWx0aF9sb2NrZXIiLCJoaXAiXX0sInJlc291cmNlX2FjY2VzcyI6eyJTQlhfMDAxNjk5Ijp7InJvbGVzIjpbInVtYV9wcm90ZWN0aW9uIl19LCJhY2NvdW50Ijp7InJvbGVzIjpbIm1hbmFnZS1hY2NvdW50IiwibWFuYWdlLWFjY291bnQtbGlua3MiLCJ2aWV3LX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BUk5BVEFLQSIsImRheU9mQmlydGgiOiIyNyIsInBock1vYmlsZSI6Ijk5MjQ4MzgwNTkiLCJleHAiOjE2ODAyNjYxMzAsImlhdCI6MTY4MDI1ODkzMCwicGhyQWRkcmVzcyI6ImJoYXR0LmRocnV2aTI3QHNieCIsImVtYWlsIjoiZGhydXZpYmhhdHQyNzc5OUBnbWFpbC5jb20iLCJ0eG5JZCI6ImE4NWExNzZjLTM1MWYtNGNmMy04YTM5LWMxOTZmNDcwYjhlMyIsInllYXJPZkJpcnRoIjoiMTk5OSJ9.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]
  1. 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.eyJleHAiOj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vbaCaUtxJJ55DPX-5X9-uwyxwUAfCH2NtbHbkpnc7tNyOTvikD-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

Kindly provide SBX client ID

We have SBX client ID: SBX_001699

We have escalated the issue with the tech team.
@Areeb pls help expedite, SDFI-3322. Kindly revert in this thread.

@tejash.belani It is working fine at our end.



Its working fine.

Here are the CURLs

(1) Generate QR Code (With Profile Details)

curl --location ‘https://dev.abdm.gov.in/cm/v1/apps/patients/qr-code
–header ‘X-AUTH-TOKEN: Bearer eyJhbGciOiJSUzUxMiJ9.eyJwaW5jb2RlIjoiMjQ5NDAzIiwic3ViIjoiYXR1bC5nYWxheHlAc2J4IiwiY2xpZW50SWQiOiJBVFVMX0xUSSIsInJlcXVlc3RlcklkIjoiUEhSLVdFQiIsImdlbmRlciI6Ik0iLCJkaXN0cmljdE5hbWUiOiJIYXJpZHdhciIsIm1vYmlsZSI6Ijk5MTA1NzE0MDYiLCJmdWxsTmFtZSI6IkF0dWwgS3VtYXIgU2hhcm1hIiwiYWRkcmVzc0xpbmUiOiJDL08gQnVkaCBQcmFrYXNoIFNoYXJtYSBSLTE4OCBTaGl2YWxpSyBOYWdhciBCSEVMIFJhbmlwdXIgSGFyZHdhciIsImhlYWx0aElkTnVtYmVyIjoiOTEtNjI2My02MDYzLTY0NzgiLCJtb250aE9mQmlydGgiOiI1Iiwic3lzdGVtIjoiQUJIQS1BIiwic3RhdGVOYW1lIjoiVVRUQVJBS0hBTkQiLCJkYXlPZkJpcnRoIjoiNiIsInBock1vYmlsZSI6Ijk5MTA1NzE0MDYiLCJleHAiOjE2ODA2NzExNjAsImlhdCI6MTY4MDY2Mzk2MCwicGhyQWRkcmVzcyI6ImF0dWwuZ2FsYXh5QHNieCIsImVtYWlsIjpudWxsLCJ0eG5JZCI6ImY2MjVkMDI0LTc3OTItNDRkNi04MGY2LTg4NWU2ZWU1MmI0NSIsInllYXJPZkJpcnRoIjoiMTk4OSJ9.Nznk5De2RXSLtiK44V8rK-bHvwJz6gB0Bc6yI0yxnAZDQ0x8s3HW0wGCAy10oTDNDWdBlu1KA1YsK9gqaq1l1azVJ5pwWXrZo4SZO5IREkEU8XLchXT1z1dK41yj25Jx7F_pGL8ggUj2UJ5QpokUvJgRRWIk8A1X7poxrjsxEUKwGSyPg2MnPVbcbsOrd3lXUVxSOeBzYc4zdu3IBAw17_OxzLMOlefyjBtm2hSE31RMNdH7R47kkDnjx7UV1vMS6bJ6iyKNnuzXDb9bSi630Iw31tGB_mmD3Kafyomb7ymd4Bi09DSpQUK9ipgY_x-_qII02NsSruM8JkRy-LeUdA’
–header ‘Cookie: TS011c04bd=01445fed0421d3c87f38335c5d6279f05a0baf8b48f9e1982b2e7615d83a7301d8ac8a696c6219d7a536a3abfe12d0facb8e2371ca’

(2) Generate QR Code

curl --location ‘https://dev.abdm.gov.in/cm/v1/apps/patients/profile/qr-code
–header ‘X-AUTH-TOKEN: Bearer eyJhbGciOiJSUzUxMiJ9.eyJwaW5jb2RlIjoiMjQ5NDAzIiwic3ViIjoiYXR1bC5nYWxheHlAc2J4IiwiY2xpZW50SWQiOiJBVFVMX0xUSSIsInJlcXVlc3RlcklkIjoiUEhSLVdFQiIsImdlbmRlciI6Ik0iLCJkaXN0cmljdE5hbWUiOiJIYXJpZHdhciIsIm1vYmlsZSI6Ijk5MTA1NzE0MDYiLCJmdWxsTmFtZSI6IkF0dWwgS3VtYXIgU2hhcm1hIiwiYWRkcmVzc0xpbmUiOiJDL08gQnVkaCBQcmFrYXNoIFNoYXJtYSBSLTE4OCBTaGl2YWxpSyBOYWdhciBCSEVMIFJhbmlwdXIgSGFyZHdhciIsImhlYWx0aElkTnVtYmVyIjoiOTEtNjI2My02MDYzLTY0NzgiLCJtb250aE9mQmlydGgiOiI1Iiwic3lzdGVtIjoiQUJIQS1BIiwic3RhdGVOYW1lIjoiVVRUQVJBS0hBTkQiLCJkYXlPZkJpcnRoIjoiNiIsInBock1vYmlsZSI6Ijk5MTA1NzE0MDYiLCJleHAiOjE2ODA2ODE5NTQsImlhdCI6MTY4MDY3NDc1NCwicGhyQWRkcmVzcyI6ImF0dWwuZ2FsYXh5QHNieCIsImVtYWlsIjpudWxsLCJ0eG5JZCI6ImNiZGUxZWJiLWFkOTgtNGE4Ny1iYTY2LWIxYTY3MzU3NzY4ZiIsInllYXJPZkJpcnRoIjoiMTk4OSJ9.vdXqH-k9Qe3AVT0cw2TZse5pR2yf79EE8BGLFgBq8JlugSADoWyx2k5G9CojYLhbOtgF8cl8JGhCrK_Xeo2SToKsMHHL06Bj3CXTw3fxluKrjePwpjNIz9dC1TfzhjOMMnMR6Sy2Dss3L5CqCe-tFR18fUXtprYsjnDg6Re0MRQCeb3wMHQbsaBnaafxQLS-2NRRGJMC5GFIkdommdgKgaGOUHNqj_0-j57NgVL4mpjwZYULr4tHbQyGqYDuqShcSR5TO21dx2zdZZ6n9gRZXaC0sXEo-rCZd82aH0JgSy9zChwEr7a-oapENzuu08B6FxACU6PxEBHAd1Lg5CpCNQ’
–header ‘Cookie: TS011c04bd=01445fed043a9726fd32821c05c981eff0a7dd9f05ac9ac2d041e1294a15694c830620d2d9cb1fc32519c2dc2ddc1aa16887d9ff79’

(3) Profile Card

curl --location ‘https://dev.ndhm.gov.in/cm/v1/apps/patients/profile/getCard
–header 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Eo-rCZd82aH0JgSy9zChwEr7a-oapENzuu08B6FxACU6PxEBHAd1Lg5CpCNQ’
–header ‘Cookie: TS01960242=01445fed04d6b72583aacad7c3634c8f255ba7cc93022a5227c4d124bffad2660643742148152f576363726d84989f7bf3b518ebbb’

@tejash.belani It is working fine.


Its working fine.

Here are the CURLs

(1) Generate QR Code (With Profile Details)

curl --location ‘https://dev.abdm.gov.in/cm/v1/apps/patients/qr-code
–header ‘X-AUTH-TOKEN: Bearer eyJhbGciOiJSUzUxMiJ9.eyJwaW5jb2RlIjoiMjQ5NDAzIiwic3ViIjoiYXR1bC5nYWxheHlAc2J4IiwiY2xpZW50SWQiOiJBVFVMX0xUSSIsInJlcXVlc3RlcklkIjoiUEhSLVdFQiIsImdlbmRlciI6Ik0iLCJkaXN0cmljdE5hbWUiOiJIYXJpZHdhciIsIm1vYmlsZSI6Ijk5MTA1NzE0MDYiLCJmdWxsTmFtZSI6IkF0dWwgS3VtYXIgU2hhcm1hIiwiYWRkcmVzc0xpbmUiOiJDL08gQnVkaCBQcmFrYXNoIFNoYXJtYSBSLTE4OCBTaGl2YWxpSyBOYWdhciBCSEVMIFJhbmlwdXIgSGFyZHdhciIsImhlYWx0aElkTnVtYmVyIjoiOTEtNjI2My02MDYzLTY0NzgiLCJtb250aE9mQmlydGgiOiI1Iiwic3lzdGVtIjoiQUJIQS1BIiwic3RhdGVOYW1lIjoiVVRUQVJBS0hBTkQiLCJkYXlPZkJpcnRoIjoiNiIsInBock1vYmlsZSI6Ijk5MTA1NzE0MDYiLCJleHAiOjE2ODA2NzExNjAsImlhdCI6MTY4MDY2Mzk2MCwicGhyQWRkcmVzcyI6ImF0dWwuZ2FsYXh5QHNieCIsImVtYWlsIjpudWxsLCJ0eG5JZCI6ImY2MjVkMDI0LTc3OTItNDRkNi04MGY2LTg4NWU2ZWU1MmI0NSIsInllYXJPZkJpcnRoIjoiMTk4OSJ9.Nznk5De2RXSLtiK44V8rK-bHvwJz6gB0Bc6yI0yxnAZDQ0x8s3HW0wGCAy10oTDNDWdBlu1KA1YsK9gqaq1l1azVJ5pwWXrZo4SZO5IREkEU8XLchXT1z1dK41yj25Jx7F_pGL8ggUj2UJ5QpokUvJgRRWIk8A1X7poxrjsxEUKwGSyPg2MnPVbcbsOrd3lXUVxSOeBzYc4zdu3IBAw17_OxzLMOlefyjBtm2hSE31RMNdH7R47kkDnjx7UV1vMS6bJ6iyKNnuzXDb9bSi630Iw31tGB_mmD3Kafyomb7ymd4Bi09DSpQUK9ipgY_x-_qII02NsSruM8JkRy-LeUdA’
–header ‘Cookie: TS011c04bd=01445fed0421d3c87f38335c5d6279f05a0baf8b48f9e1982b2e7615d83a7301d8ac8a696c6219d7a536a3abfe12d0facb8e2371ca’

(2) Generate QR Code

curl --location ‘https://dev.abdm.gov.in/cm/v1/apps/patients/profile/qr-code
–header ‘X-AUTH-TOKEN: Bearer eyJhbGciOiJSUzUxMiJ9.eyJwaW5jb2RlIjoiMjQ5NDAzIiwic3ViIjoiYXR1bC5nYWxheHlAc2J4IiwiY2xpZW50SWQiOiJBVFVMX0xUSSIsInJlcXVlc3RlcklkIjoiUEhSLVdFQiIsImdlbmRlciI6Ik0iLCJkaXN0cmljdE5hbWUiOiJIYXJpZHdhciIsIm1vYmlsZSI6Ijk5MTA1NzE0MDYiLCJmdWxsTmFtZSI6IkF0dWwgS3VtYXIgU2hhcm1hIiwiYWRkcmVzc0xpbmUiOiJDL08gQnVkaCBQcmFrYXNoIFNoYXJtYSBSLTE4OCBTaGl2YWxpSyBOYWdhciBCSEVMIFJhbmlwdXIgSGFyZHdhciIsImhlYWx0aElkTnVtYmVyIjoiOTEtNjI2My02MDYzLTY0NzgiLCJtb250aE9mQmlydGgiOiI1Iiwic3lzdGVtIjoiQUJIQS1BIiwic3RhdGVOYW1lIjoiVVRUQVJBS0hBTkQiLCJkYXlPZkJpcnRoIjoiNiIsInBock1vYmlsZSI6Ijk5MTA1NzE0MDYiLCJleHAiOjE2ODA2ODE5NTQsImlhdCI6MTY4MDY3NDc1NCwicGhyQWRkcmVzcyI6ImF0dWwuZ2FsYXh5QHNieCIsImVtYWlsIjpudWxsLCJ0eG5JZCI6ImNiZGUxZWJiLWFkOTgtNGE4Ny1iYTY2LWIxYTY3MzU3NzY4ZiIsInllYXJPZkJpcnRoIjoiMTk4OSJ9.vdXqH-k9Qe3AVT0cw2TZse5pR2yf79EE8BGLFgBq8JlugSADoWyx2k5G9CojYLhbOtgF8cl8JGhCrK_Xeo2SToKsMHHL06Bj3CXTw3fxluKrjePwpjNIz9dC1TfzhjOMMnMR6Sy2Dss3L5CqCe-tFR18fUXtprYsjnDg6Re0MRQCeb3wMHQbsaBnaafxQLS-2NRRGJMC5GFIkdommdgKgaGOUHNqj_0-j57NgVL4mpjwZYULr4tHbQyGqYDuqShcSR5TO21dx2zdZZ6n9gRZXaC0sXEo-rCZd82aH0JgSy9zChwEr7a-oapENzuu08B6FxACU6PxEBHAd1Lg5CpCNQ’
–header ‘Cookie: TS011c04bd=01445fed043a9726fd32821c05c981eff0a7dd9f05ac9ac2d041e1294a15694c830620d2d9cb1fc32519c2dc2ddc1aa16887d9ff79’

(3) Profile Card

curl --location ‘https://dev.ndhm.gov.in/cm/v1/apps/patients/profile/getCard
–header ‘X-AUTH-TOKEN: Bearer eyJhbGciOiJSUzUxMiJ9.eyJwaW5jb2RlIjoiMjQ5NDAzIiwic3ViIjoiYXR1bC5nYWxheHlAc2J4IiwiY2xpZW50SWQiOiJBVFVMX0xUSSIsInJlcXVlc3RlcklkIjoiUEhSLVdFQiIsImdlbmRlciI6Ik0iLCJkaXN0cmljdE5hbWUiOiJIYXJpZHdhciIsIm1vYmlsZSI6Ijk5MTA1NzE0MDYiLCJmdWxsTmFtZSI6IkF0dWwgS3VtYXIgU2hhcm1hIiwiYWRkcmVzc0xpbmUiOiJDL08gQnVkaCBQcmFrYXNoIFNoYXJtYSBSLTE4OCBTaGl2YWxpSyBOYWdhciBCSEVMIFJhbmlwdXIgSGFyZHdhciIsImhlYWx0aElkTnVtYmVyIjoiOTEtNjI2My02MDYzLTY0NzgiLCJtb250aE9mQmlydGgiOiI1Iiwic3lzdGVtIjoiQUJIQS1BIiwic3RhdGVOYW1lIjoiVVRUQVJBS0hBTkQiLCJkYXlPZkJpcnRoIjoiNiIsInBock1vYmlsZSI6Ijk5MTA1NzE0MDYiLCJleHAiOjE2ODA2ODE5NTQsImlhdCI6MTY4MDY3NDc1NCwicGhyQWRkcmVzcyI6ImF0dWwuZ2FsYXh5QHNieCIsImVtYWlsIjpudWxsLCJ0eG5JZCI6ImNiZGUxZWJiLWFkOTgtNGE4Ny1iYTY2LWIxYTY3MzU3NzY4ZiIsInllYXJPZkJpcnRoIjoiMTk4OSJ9.vdXqH-k9Qe3AVT0cw2TZse5pR2yf79EE8BGLFgBq8JlugSADoWyx2k5G9CojYLhbOtgF8cl8JGhCrK_Xeo2SToKsMHHL06Bj3CXTw3fxluKrjePwpjNIz9dC1TfzhjOMMnMR6Sy2Dss3L5CqCe-tFR18fUXtprYsjnDg6Re0MRQCeb3wMHQbsaBnaafxQLS-2NRRGJMC5GFIkdommdgKgaGOUHNqj_0-j57NgVL4mpjwZYULr4tHbQyGqYDuqShcSR5TO21dx2zdZZ6n9gRZXaC0sXEo-rCZd82aH0JgSy9zChwEr7a-oapENzuu08B6FxACU6PxEBHAd1Lg5CpCNQ’
–header ‘Cookie: TS01960242=01445fed04d6b72583aacad7c3634c8f255ba7cc93022a5227c4d124bffad2660643742148152f576363726d84989f7bf3b518ebbb’

@IntegrationSupport
Thanks for the solution. It is working now.