What you’ll see

Salesforce returned an error: <Salesforce's explanation>

Why it happens

While generating the document, Docs Made Easy asked Salesforce for data or asked it to save a file, and Salesforce refused. The text after "Salesforce returned an error:" is Salesforce's own explanation. Common causes are a record that was deleted, a Salesforce validation rule, or a temporary Salesforce problem.

How to fix it

  1. Read Salesforce's explanation in the message. It usually names the record, object or field involved.
  2. Check that the record you're generating from still exists and that you can open it in Salesforce.
  3. If the explanation mentions a validation rule or required field, update the record and try again.
  4. If the message doesn't make sense to you, forward it to your Salesforce administrator.

Who can fix it

  • You: fix the record (for example fill in a required field) or check that it still exists.
  • A Salesforce admin: explains or adjusts the validation rule, required field or permission named in Salesforce's explanation.
  • Docs Made Easy support: if Salesforce's explanation points to something in Docs Made Easy rather than your data or org settings.

What to send support

  • the Error code and Reference from the message (copy the whole message if you can)
  • the full text after "Salesforce returned an error:"
  • your Salesforce Org ID (How to share your Org ID)
  • a link to the record you generated from
  • the solution name or ID
  • the time it happened, with your time zone