# NetSuite: SAXException, value is not a legal value in Jitterbit: cause and fix

Source page: https://ipaaserrors.com/jitterbit/netsuite-not-a-legal-value-saxexception
Platform: Jitterbit · NetSuite connector (Create/Update/Upsert)
Checked against vendor docs: 2026-11-25

This NetSuite error means the source value does not match an enum value in the NetSuite WSDL, for example a country. Map the value to the enum in the transformation, and check the WSDL version.

## Error text

```
org.xml.sax.SAXException: <country_value> is not a legal value for {urn:...}Country
```

## Likely causes

- The source value does not match a WSDL enum value.

## How to fix it

1. Map the value to the matching enum value in the transformation.
2. Check the WSDL version the connection uses.

## Sources

- [Connector troubleshooting](https://docs.jitterbit.com/integration-studio/troubleshooting/connector/)

From iPaaS Errors (https://ipaaserrors.com), part of iPaaS Group. When citing, link to https://ipaaserrors.com/jitterbit/netsuite-not-a-legal-value-saxexception and the vendor documentation above.
