Skip to main content
Skip table of contents

"Insufficient Privileges" error

The Salesforce permission related to Documill doesn't work properly when testing using the “login as” feature. The "Insufficient Privileges error" may appear, or the template list might not be visible, but when the end-users login directly, they don't have that issue. Please ask the users to login and test by themselves, or have another test account as end-user.

End-users will receive the "Insufficient Privileges" message when they don't have all the permissions required to run Dynamo or the template.

Check permissions shown in the following steps.

Managed Connected App

First, navigate to the setup menu where connected apps are configured. Lightning and Classic UI setup menus are found in different places.

  • In Lightning Experience: Navigate to Setup AppsConnected AppsManage Connected Apps

  • In Classic: Navigate to SetupManage AppsConnected Apps

image-20231227-045344.png

Look for Dynamo Service in the list. If it is not on the list, please double-check the installation and upgrading Dynamo.

Make sure the Permitted Users is Admin approved users are pre-authorized.

image-20231227-045434.png

If not, click Edit, change the Permitted Users selection in the OAuth policies is Admin approved users are pre-authorized.

Click Save.

image-20231227-045534.png

Click the Dynamo Service Connected App and look for the Profiles section.

Click Manage Profiles and add all the profiles that should be allowed to use Dynamo. Note that any other profile is disallowed.

image-20231227-045800.png

Visualforce Page's security

In SetupVisualforce Pages

Click to Security button next to the Visualforce page used in the button

image-20231227-045925.png

Make sure you enable all the Profiles those need access for using that page.

image-20231227-050006.png
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.