Skip to content

Commit

Permalink
Merge pull request #1801 from Khuddusshariff0022/1.1.5.5_MOSIP_30470_…
Browse files Browse the repository at this point in the history
…UIN_Generation_failed_Invalid_Input_Parameter

[mosip 30470] uin genration Invalid input parameter Exception handeled
  • Loading branch information
vishwa-vyom authored Dec 7, 2023
2 parents d987c3a + 4a7124a commit 59ff62c
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,7 @@ public MessageDTO process(MessageDTO object) {
uinField, description);
if(idResponseDTO.getErrors()!=null && idResponseDTO.getErrors().get(0).getErrorCode().equalsIgnoreCase(INVALID_INPUT_PARAMETER_ERROR_CODE)) {
for (int i = 0; i < maxRetrycount; i++) {
regProcLogger.info(StatusUtil.INVALID_INPUT_PARAMETER.getMessage()+":"+StatusUtil.INVALID_INPUT_PARAMETER.getCode()+", Retrying "+(i+1)+" times");
idResponseDTO = sendIdRepoWithUin(registrationId, registrationStatusDto.getRegistrationType(), demographicIdentity,
uinField, description);
if (idResponseDTO.getErrors()==null || idResponseDTO.getErrors().get(0).getErrorCode()!=INVALID_INPUT_PARAMETER_ERROR_CODE)
Expand Down

0 comments on commit 59ff62c

Please sign in to comment.