Unable to revoke the "Temporary/Perpetual VID"

Story point estimate

Description

Description: Unable to revoke Temporary VID generated UIN: 5609587061, as getting internal server error

Step to reproduce:
1) Generate UIN successfully.
2) Perform SendOTP API to get OTP for the UIN.
3) Generate a temporary VID
4) Execute the "Revoke VID API"

Expected: The success response should be received.

Request Sent:
{
"id": "mosip.resident.vidstatus",
"version": "v1",
"requesttime": "2020-06-06T08:41:21.178Z",
"request": {
"transactionID": "1234567890",
"individualId": "6018245261398471",
"individualIdType": "VID",
"otp": "111111",
"vidStatus": "REVOKED"
}
}

Response received:
{
"timestamp": "2020-06-06T07:44:35.482+0000",
"status": 500,
"error": "Internal Server Error",
"message": "java.lang.String cannot be cast to java.lang.Long",
"path": "/resident/v1/vid/6018245261398471"
}

Environment

sandboxv2.southindia.cloudapp.azure.com

Activity

Show:

nikhilesh.kumar June 6, 2020 at 11:44 AM

It is working fine now.

Fixed

Details

Assignee

Reporter

Severity

Major

Affects versions

Fix versions

Closed Date

Jun 06, 2020, 11:45 AM

Rootcause

Coding issue

Priority

Created June 6, 2020 at 8:26 AM
Updated June 6, 2020 at 11:45 AM
Resolved June 6, 2020 at 10:44 AM