This article covers known errors that can occur when syncing data between Square and NetSuite, including the cause of each error and steps to resolve it.
Error: Invalid Field Value NaN/NaN/NaN for trandate
Flow: Square Order to NetSuite Cash Sale
Error message:
Failed to add Square Order# ********. Failed to create, update/transform record because You have entered an Invalid Field Value NaN/NaN/NaN for the following field: trandate
Error code: invalid_fld_value
Cause: The flow cannot parse the date format from the Square order JSON. This occurs when the date field mapping does not include the correct format and timezone settings.
Resolution:
- In integrator.io, open the Square – NetSuite integration app tile.
- Go to Flows > Order.
- Next to the Square Order to NetSuite Cash Sale flow, select Edit Mappings. The Post Cash Sale to NetSuite import mappings open.
- In the mapping rules, find the
closed_atfield (Square) mapped to thedatefield (NetSuite). - Select Edit to open the Settings for that mapping.
- In the Date format dropdown, select
YYYY-MM-DDTHH:mm:ssZ. - In the Time zone dropdown, select the timezone that matches your Square account.
- Select Save & close.
- In the integrator.io Dashboard, find the failed flow run and select Retry.