Skip to main content
Avalara Help Center

How do I resolve a length must be between 0 and 50 characters error?

Overview

You have attempted to calculate tax but an error occurred stating that there is a length error, like the ones below:

Lines[0].RevAcct length must be between 0 and 50 characters.

Lines[3].ItemCode length must be between 0 and 50 characters.

API call initiated for certificate: Failure. Received response: Address1 length must be between 1 and 50 characters.()

Environment

Avalara AvaTax

CertCapture

Resolution

  • Review the error to see which field includes text that exceeds the allowable length:
    • Go to that Item, Revenue Account, Customer Name, etc. and shorten it to be fewer than 50 characters