Introducing the Chargebee CLI

Error message: NetSuite request failed, The field state contained more than the maximum number ( 30 ) of characters allowed

Scope

Error message: NetSuite request failed, The field state contained more than the maximum number ( 30 ) of characters allowed

Error while syncing invoice from Chargebee to NetSuite: The field state contained more than the maximum number of characters allowed

NetSuite failed with the error: Dependent entity XXXXX of type CUSTOMER is not synced.

Summary

This error occurs if the Chargebee customer billing address has more than 30 characters. If there are more than 30 characters, the customer entity will not be synced, and the invoice sync will fail. First, check the status from the Admin DB table using customers & billing_addresses. Once you can verify if there are more than 30 characters, ask the merchant to update the billing address in Chargebee and then perform manual sync using the Sync now option from Netsuite integration.

Solution

Navigate to the Admin DB > Table > customers & billing_addresses. On the filter, use customer_handle and search with the specific customer ID.

Once you confirm the characters are more than 30, guide the merchant to the Customers Index Page > Customer details page (i.e., specific customer) > Billing address and update the customer billing address by having less than 30 characters.

Once updated, ask the merchant to manually sync using the 'Sync now' option.

To know about the NetSuite character limitation, refer to the NetSuite item record for more information.