Getting error "Unable to access API resourceRES-SER-005" while running resident service API

Story point estimate

Description

Unable to execute any of the resident service API as getting error in response as
:

{
"id": "mosip.resident.printuin",
"version": "v1",
"responsetime": "2020-06-19T11:06:39.240Z",
"metadata": null,
"response": null,
"errors": [
{
"errorCode": "RES-SER-020",
"message": "RES-SER-006 --> Unable to access API resourceRES-SER-005 --> Exception occured while accessing ; \nnested exception is io.mosip.resident.exception.ApisResourceAccessException: RES-SER-005 --> Exception occured while accessing http://idrepo-identity-service/idrepository/v1/identity/uin/8167962704; \nnested exception is org.springframework.web.client.HttpClientErrorException: 403 ; \nnested exception is io.mosip.resident.exception.ApisResourceAccessException: RES-SER-005 --> Exception occured while accessing ; \nnested exception is io.mosip.resident.exception.ApisResourceAccessException: RES-SER-005 --> Exception occured while accessing http://idrepo-identity-service/idrepository/v1/identity/uin/8167962704; \nnested exception is org.springframework.web.client.HttpClientErrorException: 403 "
}
]
}

host: dev-test.southindia.cloudapp.azure.com

Request sent for: EUIN, REPRINT, UPDATE UIN, etc

Environment

QA : Dev-test

Activity

Show:

Niyati Swami June 24, 2020 at 6:16 AM

Working as expected.

Chandra Keshav Mishra June 19, 2020 at 12:09 PM
Edited

Two things were done:

  1. added the RESIDENT role in the service account roles of mosip-resident-client in keycloak.

  2. updated the resident service properties.

Sowmya Goudar June 19, 2020 at 12:04 PM

updated resident service properties,

Please retest it.

Niyati Swami June 19, 2020 at 11:26 AM

Now I am getting {     "id": "mosip.resident.euin",     "version": "v1",     "responsetime": "2020-06-19T11:26:22.424Z",     "metadata": null,     "response": null,     "errors": [         {             "errorCode": "RES-SER-004",             "message": "Unable to decrypt Request"         }     ] }

Fixed

Details

Assignee

Reporter

Severity

Blocker

Release Number

Closed Date

Jun 24, 2020, 6:17 AM

Rootcause

Configuration issue

Priority

Created June 19, 2020 at 11:16 AM
Updated June 24, 2020 at 6:17 AM
Resolved June 19, 2020 at 12:03 PM