- Error Types
Anything that happens during a run of DOTS Address Validation International that causes it to be unable to finish its normal processing is an error. If an error occurs, something similar to the following will result instead of the normal/typical output:
<Desc>Your license key does not work on this service.</Desc>
There are three error types described below.
|Standard Across All Gen2 Web Services
|Service Objects Fatal
Error type 1: Authorization
- Theses are standard to all Generation 2 DOTS Web Services.
|Unknown authorization error.
|Please provide a valid license key for this web service.
|The daily allowable number of transactions for this license key has been exceeded.
|The monthly allowable number of transactions for this license key has been exceeded.
|The total allowable number of transactions for this license key has been exceeded.
|There are not enough transactions available. Check your daily/monthly transaction limits.
|This license key has not yet been activated.
|This license key has expired.
|Your license key does not work on this service
|This country is limited to specific usage. Please contact customer service to have your key enabled.
|This output language is limited to specific usage. Please contact customer service to have your key enabled.
Error type 2: User Input
- User Input errors are caused when a user inputs an invalid value or fails to provide a certain input field altogether. If a developer creates a request and mistypes a parameter name, it will probably cause a User Input Error.
|You must input a license key in the LicenseKey field.
|The value of the OutputLanguage field is not supported.
|Occurs when an unsupported OutputLanguage value is submitted.
|You must input an OutputLanguage.
|Occurs when the OutputLanguage field is missing or when the value is empty.
|You must input a country name or country code in the Country field.
|The country entered is not supported.
|Indicates that the country entered may not necessarily be invalid but that the value is not supported. Either the value is not recognized or it is for a country that the service does not currently support.
|The country entered is invalid
|You must input an address.
|Occurs when a value is not passed to the Address1-5 fields or when the value(s) does not appear to be an address.Examples: “Attention John Smith” or “On the corner of East and Main” or “9 ^&*$@! Rd”
|The length of one or more address fields is too long.
|Occurs when the length of one or more of the Address1-5 field values exceeds 250 characters.
|The length of the Locality field is too long.
|Occurs when the length of the Locality field value exceeds 250 characters.
|The length of the AdministrativeArea field is too long.
|Occurs when the length of the AdministrativeArea field value exceeds 250 characters.
|Locality and AdministrativeArea are required when a PostalCode is not provided.
|The length of the PostalCode field is too long.
|Occurs when the length of the PostalCode field value exceeds 50 characters.
Error type 3: Service Objects Fatal
- The Desc will always be the same and the DescCode has no meaning. This is standard to all Generation 2 DOTS Web Services. This is a rare error that signals either a bug in the DOTS Address Validation International service, or a Network/Connectivity issue.
|Unhandled error. Please contact Service Objects.