All Collections
FAQ
Error messages from NetSuite
Error messages from NetSuite

How to interpret the error messages when trying to send transactions to NetSuite

Maria Tirkkonen avatar
Written by Maria Tirkkonen
Updated over a week ago

Failed with status 400 - {"error" : {"code" : "INVALID_KEY_OR_REF", "message" : "Invalid customer reference key 1234 for entity 12345."}}

  • User isn't set as a resource on that expense account or cost center in NetSuite. Please check that this user has been enabled as that expense account or cost center's resource in NetSuite.

Failed with status 400 - {"error" : {"code" : "INVALID_KEY_OR_REF", "message" : "Invalid entity reference key 1234."}}

  • The ID belongs to a user who's not marked as an active Bezala user in NetSuite or the user hasn't been enabled as a resource for that expense account or cost center that's been saved on the queued transaction. Please check that this user has been marked as an active Bezala user in NetSuite, and that the user has been enabled as that expense account or cost center's resource in NetSuite.

Failed with status 400 - {"error" : {"code" : "INVALID_KEY_OR_REF", "message" : "Invalid category reference key 12 for entity 1234."}}

  • Queued transaction has an expense account that's been deactivated in NetSuite. Please choose an active expense account on the queued receipt, and ask Bezala support to deactivate the old account on the Bezala side.

Failed with status 400 - {"error" : {"code" : "USER_ERROR", "message" : "Please enter value(s) for: Department"}}

  • A transaction in the Bezala queue is missing its department value. Please check that all the queued transactions have a department value.

"Failed with status 400 - {"error" : {"code" : "INVALID_KEY_OR_REF", "message" : "Invalid department reference key 12 for subsidiary 1."}}"

  • A department chosen on some queued transaction isn't active in NetSuite. Please check if this department should be activated in NetSuite or if the value should be changed on said transaction in Bezala.

Did this answer your question?