Getting error while sending OTP “Salt for the given ID not available in database”.
url: {{url}}/resident/v1/req/otp
Response:
{
“id”: null,
“version”: null,
“transactionID”: null,
“responseTime”: “2023-04-25T10:31:19.385Z”,
“errors”: [
{
“errorCode”: “IDA-MLC-018”,
“errorMessage”: “Salt for the given ID not available in database”
}
],
“response”: null,
“metadata”: null
}
UIN: 7492453259
Hi @Madhu_Gn , We observed this issue that when OTP request/Authentication is performed for a UIN before the credential is issued for that, it caches the null salt key and it results in this error. This will get fixed in future release. a workaround for this is not to perform OTP request/authentication before the credential is issued, we can have some wait time. And, if this issue occurred, the service needs to re-started to clear the salt cache. Please refer to the issue on this.
https://mosip.atlassian.net/browse/MOSIP-26891