204 response in authentication API while update number

Hi,
here i am trying to update the mobile number. in the input field we dont know the oldpassword so i am giving as null in that case i am getting 204 response and says Not a JSON Object: null. but the mobile number is updating how to get 200 response in that case.

please help me to resolve @IntegrationSupport @satyadeep

{
“authMethod”: “AADHAAR_OTP”,
“oldPassword”: null,
“otp”: “UPjUGDnhCi7aaoVLMpR99wtpDKm58vjdFx1ref++/v2u+CN+/P4AKwQQgMNoMs1MPv8cosEebxBMMQN8qdy9Y1WWz8Fp4U3gXxGEAOl848uRItXNm9peyOm8gZewmH4FtEAvA6tGVts3FG8fFBct0RCYLQAnlTQrO7hbjz81LYcI6aOw3tcZVXfdoQJjC5mGhnXQmloVciduw478IVUkx4VA/A5Y8jLuEqLsujYbx46MB1ZKWPTvTfopMU5VxLdWNrvSubSBrFeHNQRDS8jB35AC1zEZbnbPPU5fuLvFlsYXedq9XvQZK/S4qzdjkgHVUFeGN/9zvpsoC/0AifJ19tsPCKik1GeXdL+iDqpPIIS65kAAKQ7W8loMSBcXDy7/YU0S9VbiwM4xNGV3Fp/lQHY/0p3p0lGykmifr1V5IrFNo1vTZqXTAvysf4F9d7lIGVj6+TNYojg4NnO7iRO6UhZtNEjhDEED55qH8z4Qzv8R8ZpOOMIR3HLlWadnVKFeLsko9QwLcabV7caY25sTXzLK3dOXnH/AHqneWkksiCcz/GBrVgNG6D82XxgqQT8IzIyHQl0on1rIPJU6VAZ/i++JyP9xEjSI8TjJuGS6eH2KO19mIFjyqvhFLe0vFyeLTLFWphv3KPNTneMPCixlGf0ksjaCwQGChHobC4eqWyY=”,
“txnId”: “c3b0c27d-e19d-4244-b8bb-3fa19285054a”
}

I am using V2 API

https://healthidsbx.abdm.gov.in/api/v2/account/change/mobile/update/authentication

@Vinay You cannot put null. Provide old password . Refer here for body

https://app.swaggerhub.com/apis-docs/abdm.abha/abha-service/1.0#/Profile/changeMobileNumberPasswordViaUsingPOST

1 Like