The requested URL was rejected. Please consult with your administrator

Hi @salahudheen

As per of your response you will getting error in the
https://healthidsbx.abdm.gov.in/api/v1/registration/mobile/createHealthId
its working fine right now so update and use correct data to insert in the parameter
not getting error in that ohk


Please use this curl file
curl -X POST “https://healthidsbx.abdm.gov.in/api/v1/registration/mobile/createHealthId” -H “accept: /” -H “Accept-Language: en-US” -H “Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJBbFJiNVdDbThUbTlFSl9JZk85ejA2ajlvQ3Y1MXBLS0ZrbkdiX1RCdkswIn0.eyJleHAiOjE2NDc4NjQ0ODksImlhdCI6MTY0Nzg2Mzg4OSwianRpIjoiN2UxYjNhZDctNjk0Zi00MGEzLWE5MGQtMTk0Y2I4MTdjZjlmIiwiaXNzIjoiaHR0cHM6Ly9kZXYubmRobS5nb3YuaW4vYXV0aC9yZWFsbXMvY2VudHJhbC1yZWdpc3RyeSIsImF1ZCI6WyJyZWFsbS1tYW5hZ2VtZW50IiwiYWNjb3VudCJdLCJzdWIiOiIwNmJkNGZlNy04NjEyLTRiZmEtYTI1NS1iMDdiZmFjZmU1M2QiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJoZWFsdGhpZC1hcGkiLCJzZXNzaW9uX3N0YXRlIjoiODQzZWE3NzQtNGNmYy00NjA3LThiNjktZTdmNzE1YWY2ZDNhIiwiYWNyIjoiMSIsInJlYWxtX2FjY2VzcyI6eyJyb2xlcyI6WyJoZWFsdGhpZF9zZXJ2ZXIiLCJIaWRJbnRlZ3JhdGVkUHJvZ3JhbSIsImhlYWx0aGlkLXdlYiIsIm9mZmxpbmVfYWNjZXNzIiwiaGVhbHRoSWQiXX0sInJlc291cmNlX2FjY2VzcyI6eyJyZWFsbS1tYW5hZ2VtZW50Ijp7InJvbGVzIjpbInZpZXctY2xpZW50cyIsInF1ZXJ5LWNsaWVudHMiXX0sImFjY291bnQiOnsicm9sZXMiOlsibWFuYWdlLWFjY291bnQiLCJtYW5hZ2UtYWNjb3VudC1saW5rcyIsInZpZXctcHJvZmlsZSJdfX0sInNjb3BlIjoib3BlbmlkIGVtYWlsIHByb2ZpbGUiLCJjbGllbnRJZCI6ImhlYWx0aGlkLWFwaSIsImNsaWVudEhvc3QiOiIxMC4yMzMuNjkuMTIiLCJlbWFpbF92ZXJpZmllZCI6ZmFsc2UsInByZWZlcnJlZF91c2VybmFtZSI6InNlcnZpY2UtYWNjb3VudC1oZWFsdGhpZC1hcGkiLCJjbGllbnRBZGRyZXNzIjoiMTAuMjMzLjY5LjEyIn0.SxCJdSwbqpFH3B5UWaKiSw0xYxedQSpgiYmqs_v8slkqVEr_reKAbtPOgRA0Von_A31TmE5A9Oh4FI7JNv3NJO4n8WgPwURK3ThRBu3fQE2-5dvQ7hqK0SZt0Nbvkatd43F2QbVMKcYfzdghE7L3pCtN4MW5O2mXQsTuuwUwNcJP84KSkpWkFHn31qV6HsHWowP4ZeDBgunbpK6uEx0xC_7dUQFsF3GN6l6v0D1QhHWE7pMKHHNxW_cVEr69OFxL-fjE1ht5JVMUk7LEaSGhDzJ0mT-eH_01thz1180ttX2nIAjgGpYG57t-F1RQb6IsrFqh9teDS7cvUo2p4qUOJQ” -H “Content-Type: application/json” -d “{ “address”: “”, “dayOfBirth”: “5”, “districtCode”: “603”, “email”: “”, “firstName”: “Adnan”, “gender”: “M”, “healthId”: “adnanalisyed02”, “lastName”: “syed”, “middleName”: “ali”, “monthOfBirth”: “5”, “name”: “Adnan ali syed”, “password”: “India@143”, “pincode”: “”, “profilePhoto”: “”, “stateCode”: “35”, “subdistrictCode”: “”, “token”: “eyJhbGciOiJSUzUxMiJ9.eyJzdWIiOiI5MDQ0ODU5NTgzIiwiY2xpZW50SWQiOiJoZWFsdGhpZC1hcGkiLCJzeXN0ZW0iOiJBQkhBLU4iLCJleHAiOjE2NDc4NjUwODUsImlhdCI6MTY0Nzg2MzI4NSwidHhuSWQiOiIzNGUwODRmNC01ZjNiLTRiMTEtYTkzMC00N2RiNmYwZjkyOTYifQ.aiRls1YnMyI_FfYxq7h9koQuUoqLnRYsF7oluo7pwz932wdAFslkuejsm1t6OZqTVLwkRkSBCYP4nLZOFNllLVIbTZPeMiuh5Zd294wVAxvM_KPIOE7jjQKRMCxr_3tjrPhim4p_nP_EnJPDemLeTmri7cXdzBPzJ3LwXeE3q0a-dFp4bXToHChVXexn-aFN-0ayRmfYc3wNj16QfPWKfQin_4dObOfItYq8SML8AXmGhng7xlNZ9PwLLjr0OTgmwJ5ZFmp8sVn63RJUIWejasdAN8U86ekqyuEpP8RGrIhssKV7JQs_Gi4vp6lPJGZP0Z73oqzKElqzhN1R8QImM5A5Ll-SXSommx5-eXp-berwMc1rqIEQWVOEsD-jsY5-gI-0mEhV-E-tzTcmHQmUmWRFPTd3kqu-g4SlYzliGvRhRBpsy11eOciST3lE-JWcoTdrmTgN9vdeEy-rsjeIjN-U_BGGOehqzzJ-7-xYUYbHyYvWAo7lFYlbUMTbVtIMlLYRByFIurLkg9pK8yd4sZO9mVJOZ6bBI4Q6nLsSzYO3h2rWM2Z4Hjn_HlsJAqi_GKADn_vQXuZZqCT1YUqKsoSLIcjSslWy2qVwplL-kep-qr0NPHlAiMDWQBvSIkNzO8nlsAx9uqrCwljyH4Almto3d2xeOQhrbfs42OqvWpE”, “townCode”: “”, “txnId”: “34e084f4-5f3b-4b11-a930-47db6f0f9296”, “villageCode”: “”, “wardCode”: “”, “yearOfBirth”: “1997”}”

Thanks & Regards
Adnan

Hi @adnan_360
Thanks for update

Can you tell me what

mean by correct data?
If profilePhoto has no data also need to send to api as “profilePhoto”: “”. (for an example)

Can you please tell me, what is the error in my request?

Thanks
SALAHUDHEEN.

Hi @salahudheen

All should be fine as well and dont profile photo remove the token in profile photo
{
“address”: “”,
“dayOfBirth”: “5”,
“districtCode”: “603”,
“email”: “”,
“firstName”: “”,
“gender”: “M”,
“healthId”: “”,
“lastName”: “”,
“middleName”: “”,
“monthOfBirth”: “5”,
“name”: “”,
“password”: “India@143”,
“pincode”: “”,
“profilePhoto”: “”,
“stateCode”: “35”,
“subdistrictCode”: “”,
“token”: “”,
“townCode”: “”,
“txnId”: “”,
“villageCode”: “”,
“wardCode”: “”,
“yearOfBirth”: “1997”
}

Please use this body and mentioned all data

Thanks & Regards
Adnan

Thanks @adnan_360,

That means, if data is there or not, all keys should be there in request. right?

Regards
Salahudheen

Hi @salahudheen

All keys should be also and your credentials should be correct
in the body @salahudheen
please use again
from my side there is no error
and in the healthid use your full name use numbers ohk

Thanks
Adnan

Thanks @adnan_360

I will check and update.

Can you please chcek these also?

  1. I messaged you last day with an M1 development scenarios (Health ID M1 Implementation.) can you please check that too.

  2. Profile Updation Not working

Thanks
Salahudheen

Hi @salahudheen

As per of your response M1 is abha no is not linked with abha adddress
but it should working fine and profile updation is working when you link you abha no with phr sbx

Thanks
Adnan

Hi @adnan_360

This salahaadhaar@sbx and 63-0888-3641-5017 created together when i created health id using Aadhaar. Again I need to link them?

Thanks
SALAHUDUHEEN

Hi @adnan_360 @Arvind_Tomar

I couldn’t create healthid with my mobile number or aadhaar.

When calling >> /v1/search/searchByMobile
{
"numberOfLinkedAccounts": 9
}

I need to remove/unlink all of them and need as “numberOfLinkedAccounts”: 0

Not getting Swagger UI (abdm.gov.in)

Please help…

Regards
SALAHUDHEEN

Hi @salahudheen

You have delete healthid using abha no link with mobile number

Thanks
Adnan

Hi @salahudheen

As Per of your Response you will not able to Access The Swagger UI
Thre is new Swagger editor you can You
I Give you the Url To access
https://sandbox.abdm.gov.in/static/media/ABHA_APIs_Swagger.b101c687.yaml

use this link to for the latest swagger yaml

and then import the yaml in swagger editor
https://editor.swagger.io/
And paste in the Swagger editor in Import file
You can access the Swagger

Thanks
Adnan

Thanks @adnan_360

I can access the swagger now.

Registration with mobile numberAPIs to create ABHA Number using mobile number (Deprecated)

Means no need to use the registration via mobile from now? or should use v2 for mobile registration?

Thanks
Salahudheen

curl -X ‘GET’
https://healthidsbx.abdm.gov.in/api/v1/account/profile
-H ‘accept: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OXHo_qpV13htLAkzunzkrTLsjvORfJGPvSqZT_gmvGBqgLNHYG2Ci75Dff4Osyafjc-CtfeJo3M9zrfTM_ZC61VqTMlYKDLh94NaxQTrpFZrEfkTWYiBNork40gARqtKCvlvQpcsqDmJQI61Rn9_5UoThQAUZkjYYgsROUMkjoWp1JapYV2RTktngu1mN75fby3GrHf6uENIh-eVsxvu8A8aFiMJWKrMW3evvQkJP9zuZ-WFTBdkA4jie84hAyt0rWeLOtoItCgBnBLXKQ5OaAwA8E_zCr2ddxPbzMgDIG7LxpkeNahKN_pT4YQF5jptlkEoYv_5aGcXOLA’

Please help

Thanks
salahudheen

Hi @salahudheen

Please use this curl file in the Postman Application and use the same request url
To call this API

Thanks
Adnan

Hi @salahudheen

This msg is only for reference purpose

Thanks
Adnan

Ok

Thanks @adnan_360

Hi @adnan_360 @Arvind_Tomar

Still have issues when Creating Health ID with Aadhaar.
Generate Aadhaar OTP
verify OTP
Generate Mobile OTP
Error coming as

The requested URL was rejected. Please consult with your administrator.
Your support ID is: 12312…2121
NB: I already have account with my aadhaar and mobile number


When checked in postman >> working >> TxnId as response
When trying with our ineterface with calling API >> Error as response

The requested URL was rejected. Please consult with your administrator.
Your support ID is: 14103002455339669514


Can you please check this.

Thanks
Salahudheen

Hi @salahudheen

Please follow all steps in the postman application
generateadharotp
verifyaadhaotp
generatemobileotp
verifymobileotp
createhealthidprevrified

Thanks & Regards
Adnan

@adnan_360 it’s working

id this API >
/v1/registration/aadhaar/createHealthIdWithAadhaarOtp
needed?

Thanks
SALAHUDHEEN

Hi @salahudheen

No its not needed to call

Thanks
Adnan