cancel
Showing results for 
Search instead for 
Did you mean: 

Insufficient Privileges Error When Running Report

Issue

When running a document package, the following error occurs:

MustAuthorize Error.

Resolution

  1. Disable Connected Apps and OAuth or change the connected app settings so users may self-authorize.
  2. Add the user profile or permission sets under the user account to Drawloop user, Drawloop Admin, or Drawloop user-Salesforce. (depending on the read/write/delete level of the account).
  3. As the Salesforce administrator, authorize Drawloop Document Generation.
  4. Verify that the user account has access to the folder or report being run with the document package. 

Error Code

Exception of type 'Drawloop.Platform.Salesforce.Exceptional.MustAuthorizeException' was thrown.

Additional Information

If this is a Community User Issue, also check Sharing Settings.

From Setup "Quick Find" Sharing Settings > DocGen Package: This needs to be set to "Public Read/Write"
                                                                    > DocGen Package Template: This needs to be set to "Public Read/Write"
 

Labels: (2)
Version history
Revision #:
9 of 13
Last update:
‎06-06-2019 07:37 AM
Updated by: