---
title: "XML warning response (field validation)"
id: "xml-warning-response-field-validation"
project: "EHR User Guide"
url: "https://help.cloud5.com.au/articles/ehr-user-guide/xml-warning-response-field-validation"
updated: 2026-10-19T00:52:52Z
---

# XML warning response \(field validation\)

Here's an example of a response where an employee code failed validation.


```xml
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
   <S:Body>
      <ns2:UpdateEmployeesPersonalDetailsResponse xmlns:ns2="http://crossboarding.service.ess.empower.com/">
         <UpdateEmployeesPersonalDetailsResponse>
            <Status>Success</Status>
            <Message>Validation errors occurred. Please refer to the error section below and the status for each employee for more information.</Message>
            <Employees>
               <Employee>
                  <EmployeeCode>90055</EmployeeCode>
                  <Name>
                     <Surname>?</Surname>
                     <GivenNames>?</GivenNames>
                     <Title>?</Title>
                     <PreferredName>?</PreferredName>
                  </Name>
                  <BirthDate>?</BirthDate>
                  <Gender>t</Gender>
                  <PrivateAddress>
                     <NewZealandOnly/>
                  </PrivateAddress>
                  <PostalAddress>
                     <NewZealandOnly/>
                  </PostalAddress>
                  <EmergencyContact1>
                     <Address/>
                  </EmergencyContact1>
                  <EmergencyContact2>
                     <Address/>
                  </EmergencyContact2>
                  <EmergencyContact3>
                     <Address/>
                  </EmergencyContact3>
                  <Status>Errors</Status>
                  <Errors>
                     <Error>
                        <Field>Employee/PersonalDetails[EmployeeCode=90055]/EmployeeCode</Field>
                        <FormName>d8fdemas</FormName>
                        <FieldName>hr_empl_code</FieldName>
                        <ErrorNumber>nexis</ErrorNumber>
                        <ErrorMessage>Employee code does not exist</ErrorMessage>
                        <ErrorHelp></ErrorHelp>
                     </Error>
                  </Errors>
               </Employee>
            </Employees>
         </UpdateEmployeesPersonalDetailsResponse>
      </ns2:UpdateEmployeesPersonalDetailsResponse>
   </S:Body>
</S:Envelope>


```


| Next topic<br><br>[Overtime code fields](/articles/ehr-user-guide/overtime-code-fields) |
| --- |

© 2023 Fusion5. All rights reserved.