INVALID_KEY_OR_REF:Invalid entity reference key

  • 1
  • 1
  • Article
  • Updated 9 months ago
  • (Edited)
Doctype: 856/810/210

Error Detail:
INVALID_KEY_OR_REF:Invalid entity reference key XXXXX.

Resolution:
This error stems from your trading partner sending an invalid PO # in their file, or from trying to bill or fulfill a non-EDI order that doesn't have a valid Sales Order in Netsuite.

The entity internal id in this file is not valid in Netsuite. You will need to either:
  1. Re-activate or fix the entity internal id to be valid within Netsuite, or:
  2. Contact SPS Fulfillment support and provide the correct entity internal id so the cross reference can be updated to reflect the new id in SPS's system.
Did this resolve your issue?
If not, comment below and we'll look into the error with you.
Photo of FAQ

FAQ, SPS FAQ

  • 9,340 Points 5k badge 2x thumb

Posted 5 years ago

  • 1
  • 1
You said "fix the entity internal id", but how?