Send OTP is failing with type cast error

Description

When trying to send OTP I get below error in DEV environment. Kindly let me know what could be the issue.

URL: https://dev.mosip.io/v1/authmanager/authenticate/sendotp

Request body:

{ "id": "string", "metadata": {}, "request": { "appId": "ida", "context": "ida-auth-otp", "otpChannel": [ "email" ], "templateVariables": {}, "userId": "3718972156", "useridtype": "UIN" }, "requesttime": "2018-12-10T06:12:52.994Z", "version": "string" }

Actual Response:

{ "id": "string", "version": "string", "responsetime": "2020-05-28T13:38:28.301Z", "metadata": null, "response": null, "errors": [ { "errorCode": "500", "message": "java.lang.Long cannot be cast to java.lang.String" } ] }

Environment

DEV

Activity

Show:

Loganathan SekarJune 3, 2020 at 12:09 PM

With data in ID Repo with IDSchemaVersion:0.3 the issue does not occur. Closing the issue.

Unresolved

Details

Assignee

Reporter

Labels

Severity

Major

Closed Date

Jun 03, 2020, 12:10 PM

Release Number

Rootcause

Configuration issue

Priority

Created May 29, 2020 at 9:05 AM
Updated June 3, 2020 at 12:11 PM

Flag notifications