Troubleshooting Invalid Account Reference Key Errors
If NetSuite Connector tries to send or sync an invalid value in the account field for a transaction, you'll see the INVALID_KEY_OR_REF - Invalid account reference error. This means the account value isn't valid in the context of the transaction. This error can happen when syncing, updating, or creating related records like refunds, where the account value is already there or inherited from the original transaction. To fix these errors, you'll need to map a valid account to replace the existing or inherited value so your data can sync.
To map an account to a transaction, see Mapping an Account for a Transaction.
The account used in these transactions might not be present. Changing the account in your transaction records should fix the issue. If the account is present but you still get an error, check your mappings or make sure the account used in these transactions matches the data NetSuite Connector is syncing. If they're the same and correct, you can try manually creating a transaction record with the same details. If the record saves successfully, note the original transaction ID, the error message, and the ID of the manually created transaction, then contact support.