Unable to update the user details in Resident Services

Problem

While using the resident services APIs for updating the user details. We were getting an error message stating API resource exception for fetching the latest identity schema with version 0.1.

{ "errorCode": "RES-SER-006", "message": "Unable to access API resource RES-SER-005 --> Exception occured while accessing ; \n nested exception is io.mosip.resident.exception.ApisResourceAccessException:  RES-SER-005 --> Exception occured while accessing  http://kernel-syncdata-service/v1/syncdata/latestidschema?schemaVersion=0.1; \n nested exception is org.springframework.web.client.HttpServerErrorException: 500 " }           

Solution

After performing upgrade of identity schema we need to make sure that the id schema version is updated in the resident-mz.properties file and the resident-services application is restarted.

Property name: IDSchema.Version

A similar property should also be updated for pre-registration in pre-registration-mz.properties if there is any modification or upgrade of id-schema and pre-registration application service should be restarted.

Filter by label

There are no items with the selected labels at this time.