diff --git a/authentication/esignet-integration-impl/src/main/java/io/mosip/authentication/esignet/integration/service/IdaVCIssuancePluginImpl.java b/authentication/esignet-integration-impl/src/main/java/io/mosip/authentication/esignet/integration/service/IdaVCIssuancePluginImpl.java index cfcdb655385..efd499a4d7f 100644 --- a/authentication/esignet-integration-impl/src/main/java/io/mosip/authentication/esignet/integration/service/IdaVCIssuancePluginImpl.java +++ b/authentication/esignet-integration-impl/src/main/java/io/mosip/authentication/esignet/integration/service/IdaVCIssuancePluginImpl.java @@ -198,7 +198,7 @@ private byte[] b64Decode(String value) { //Converts an array of two-letter language codes to their corresponding ISO 639-2/T language codes. private List convertLangCodesToISO3LanguageCodes(String[] langCodes) { - if(langCodes == null || langCodes.length == 0) + if(langCodes == null || langCodes.length == 0 || (langCodes.length == 1 && langCodes[0].isEmpty())) return List.of("eng"); return Arrays.stream(langCodes) .map(langCode -> {