Abled to set a values but it shows values are valid

Hi guys , please help. The issue is this fields vatnumber and emai. lt successfully get set through katalon but throws invalid values but the same exact values do not through error when I retype them by hands. Only when you retype the same vat number and email manually through that testing studio

element = WebUiCommonHelper.findWebElement(findTestObject(‘Object Repository/SME_Staging/Registration_Page/Page_Mobucks/input_Company VAT number_ion-input-3’),30)
WebUI.executeJavaScript(“arguments[0].value=‘4220122140’;”, Arrays.asList(element))

element = WebUiCommonHelper.findWebElement(findTestObject(‘Object Repository/SME_Staging/Registration_Page/Page_Mobucks/input_Email_ion-input-5’),30)
WebUI.executeJavaScript(“arguments[0].value=‘’;”, Arrays.asList(element))