Unauthorized endpoint

Issue

An error occurs when generating a DocGen Package using the Lightning Component, and you see this error message:

Unauthorized endpoint, please check Setup->Security->Remote site settings. endpoint = [URL]

Cause

You may receive this message if a required remote site has been deactivated in the Remote Site Settings in Salesforce. Before Nintex DocGen for Salesforce can call an external site, that site must be activated in the Remote Site Settings page in Salesforce, or the Nintex DocGen for Salesforce action requiring that external site will fail.

Your Nintex DocGen for Salesforce environment should be configured with the following remote sites activated:

  • DrawloopApi https://api.drawloop.com

  • DrawloopApps https://apps.drawloop.com

  • DrawloopGov https://gov.drawloop.com

  • DrawloopGovIL5Staging https://staging-il5.gov.drawloop.com

  • DrawloopGovStaging https://staging-gov.drawloop.com

  • DrawloopNA1 https://na1.drawloop.com

  • DrawloopNA2 https://na2.drawloop.com

  • DrawloopPrevious https://previous.drawloop.com

  • DrawloopReleaseCandidate https://rc.drawloop.com

  • DrawloopStaging https://staging.drawloop.com

  • DocGenAP1 https://ap1.docgen.nintex.io

  • DocGenEU1 https://eu1.docgen.nintex.io

  • DocGenNA1 https://na1.docgen.nintex.io

  • DocGenNA2 https://na2.docgen.nintex.io

  • DocGenNA3 https://na3.docgen.nintex.io

  • DocGenPrevious https://previous.docgen.nintex.io

  • DocGenProduction https://api.docgen.nintex.io

  • DocGenReleaseCandidate https://rc.docgen.nintex.io

  • DocGenStaging https://staging.docgen.nintex.io

  • AssureSignAccount https://account.assuresign.net

  • AssureSignAU https://au.assuresign.net

  • AssureSignAUAccount https://au-account.assuresign.net

  • AssureSignAUSandbox https://au-sandbox.assuresign.net

  • AssureSignCA1 https://ca1.assuresign.net

  • AssureSignEU1 https://eu1.assuresign.net

  • AssureSignNA1 https://na1.assuresign.net

  • AssureSignSB https://sb.assuresign.net

  • AssureSignWWW https://www.assuresign.net

Resolution

Confirm that the endpoint listed in the error message is an activated remote site. To review your remote site settings and activate a remote site:

  1. Navigate to Salesforce Setup.

  2. Use the Quick Search to find Remote Site Settings.

  3. Click the Edit link for each of the sites listed above (or for the specific site in your error message).

  4. Select the Active checkbox to enable each site (or the specific site in your error message).

  5. Click Save.