Seeing a DME- error code? Open its page

If the message contains an error code such as DME-SF-004 or DME-INT-000, start there. Each code has its own page under Errors that explains why it happens and how to fix it. For example, DME-AUTH-001 means your Salesforce session expired, and DME-DOC-001 means the document is too large to process.

Copy the whole message before you close it. Messages look like this, and support needs the Reference value to find the exact failure:

We couldn't generate the document. Please contact support. (Error code: DME-INT-000, Reference: 3f9a1c…)

What you'll see

Use this checklist when there's no error code, or the code's page didn't solve it:

  • You click the button and nothing happens.
  • The page keeps loading and never finishes.
  • A blank page opens instead of the Composer page.
  • The document downloads but is empty or wrong. If so, skip to Find your problem.

Most likely causes

  1. You can't see the record, a related record or a field the template uses.
  2. You don't have a license or permission set, or you haven't authorized the app yet.
  3. The browser is logged in to more than one Salesforce org.
  4. The template file is the wrong type or too large.
  5. Something in the template or the record's data trips up generation.
  6. Your installed version is out of date.

Work through the checklist

  1. Open the record you're generating from, then open the related records the document uses (for example the account's contacts or the opportunity's products).
  2. If Salesforce says you don't have access, ask your administrator to check your object and field permissions and sharing. See DME-SF-004.

2. Check your license, permission set and authorization

  1. Ask your administrator to confirm that you have a Docs Made Easy license (and a Docs Made Easy Pro license, if your org uses Pro) and the permission set. See Assign licenses and permission sets.
  2. If you see Authorize App, click it and then click Allow. Every user does this once, with their own login, the first time they generate a document after install. An admin can't do it for you, even with Login As, and the connected app policy Admin approved users are pre-authorized doesn't replace it. See Fix "Authorize App" for new users.
  3. If you see "There is an error rendering Canvas application" in a Trailhead Playground, set a password for your user. See Fix the Canvas application error.
  4. Admins: check that the trusted URL DMECSP for https://docsmadeasy.app exists with connect-src (scripts) selected.

3. Check your browser

Docs Made Easy works in all major browsers: Edge, Chrome, Safari and Firefox.

  1. Log out of every Salesforce org you don't need in this browser, or use a separate browser profile for each org. Several logins in one browser cause session errors (DME-AUTH-001).
  2. Refresh the Salesforce page, or log out and back in, and try again.
  3. If you use Incognito or Private browsing on a version earlier than 1.25.0, use a normal window or upgrade. Version 1.25.0 fixed generation in those modes.
  4. Allow pop-ups and third-party cookies in your browser. A pop-up blocker or blocked third-party cookies can stop some steps, such as the preview and authentication.

4. Check the template file

  1. Open the template in Word, Excel or PowerPoint. It must be a real .docx, .xlsx or .pptx file, not an older .doc file that was renamed (DME-TPL-000).
  2. Check its size. A template can be at most 5 MB. Large images are the usual cause. See Large documents, timeouts and limits.

5. Test with a simpler template or record

  1. Make a copy of the template that contains only one merge field, such as {{Account.Name}}, and generate from it.
  2. Generate the original template from a record with less related data.
  3. If the simple test works, the problem is in the template or the data. Add the rest of the template back in parts until the failure returns.
  4. From version 1.25, use the merge preview on the Composer page to check the merged result before you generate. It shows the final output exactly, but each preview counts as a generated document toward your usage.

6. Check your installed version

  1. In Setup, open Installed Packages.
  2. Read the Version Number next to HIC Docs Made Easy and, if you have it, Docs Made Easy Pro.
  3. Compare it with the latest release notes. If you're behind, ask your administrator to upgrade.

Who can fix it

  • You: refresh or log in again, authorize the app, use one org per browser, test with a simpler template.
  • Your Salesforce administrator: licenses, permission sets, sharing and field access, the trusted URL, upgrades.
  • Docs Made Easy support: DME-INT-000 and any failure that remains after this checklist.

Still stuck?

Contact support and send:

  • your Org ID (see How to share your Org ID)
  • the solution name or ID, and the template file
  • a link to the record you generated from
  • the time it happened, with your time zone
  • the full error message, including the Error code and Reference
  • your browser, and which checks above you've already done

Find your problem