NS0739 Sync Error
NS0739 Sync Error in NetSuite Integration
If you see the error:
NS0739 Sync Error: Unexpected error when logging in with tokens.
This usually means the NetSuite tokens were created with incorrect permissions or are not formatted properly.
When token configuration does not meet NetSuite’s requirements, Expensify cannot authenticate and syncing fails.
Why the NS0739 Sync Error Happens in NetSuite
The NS0739 error typically occurs when:
- The generated access tokens do not have the correct permissions.
- The SOAP Web Services permission is not set correctly on the integration role.
- The token is formatted incorrectly in NetSuite.
- A Sandbox account ID uses incorrect capitalization or formatting.
If the token configuration does not align with NetSuite’s requirements, the login attempt will fail.
This is a token permission or formatting issue, not a bundle update or general login credential issue.
How to Fix the NS0739 Sync Error
Follow the steps below to verify permissions and token formatting.
Confirm SOAP Web Services Permission
- Log in to NetSuite as an administrator.
- Go to Setup > Users/Roles > Manage Roles.
- Locate and click Edit for the Expensify Integration role.
- Click the Permissions tab.
- Scroll to the Setup section.
- Confirm SOAP Web Services is set to Full.
- Click Save if changes were made.
After updating permissions:
On web:
- Go to the navigation tabs on the left and select Workspaces.
- Select your Workspace.
- Click Accounting.
- Click the three-dot menu next to the NetSuite connection.
- Click Sync Now.
On mobile:
- Tap the navigation tabs on the bottom and select Workspaces.
- Select your Workspace.
- Tap Accounting.
- Tap the three-dot menu next to the NetSuite connection.
- Tap Sync Now.
Confirm Token Formatting for NetSuite Sandbox Accounts
If you are connected to a NetSuite Sandbox environment, confirm the account ID and token formatting are correct.
Correct format example:
12345678_SB1
Incorrect format example:
12345678-sb1
Sandbox account IDs are case-sensitive and must use the correct capitalization and underscore format.
After confirming formatting:
- Update the account ID or token details in the Workspace if needed.
- Click Save.
- Click Sync Now.
FAQ
Does the NS0739 Sync Error Affect All Exports?
Yes. If Expensify cannot authenticate using the NetSuite tokens, all syncing and exports will fail until the issue is resolved.
Do I Need NetSuite Admin Access to Fix the NS0739 Sync Error?
Yes. You must have permission to edit roles and manage token settings in NetSuite.
Do I Need to Reconnect the Integration?
No. In most cases, correcting the role permissions or token formatting and selecting Sync Now is sufficient.