Skip to main content

SALESFORCE.BAD_ID

Error code SALESFORCE.BAD_ID, raised by toolkits/enterprise. Area: SALESFORCE.

What it means​

  • Invalid record id '…'
  • Invalid file id '…'

What to do​

  • Salesforce ids are 15 or 18 characters.
  • A file (ContentDocument) id starts with 069 and has 15 or 18 characters.

In a Try block, a Catch can match this code. An internal error shows a reference such as ERR-…: an administrator finds the details beside it in the server log.

Search words: SALESFORCE BAD_ID bad id