Skip to main content


 

 

How can we help you?

 

Druva Documentation

Error while running Refresh Validation in Org Tools(SFDC 2.0): INVALID TYPE: Cannot use ApexTrigger in this organization

Heads up!

We've transitioned to a new documentation portal to serve you better. Access the latest content by clicking here.

 

Problem description


SFDC admin tried to run Refresh Validation on his org configured under Org Tools -> Environment Hub, and gets an error stating: INVALID_TYPE: Cannot use ApexTrigger in this organization

Cause

Missing Permissions: 

  • Author Apex or Modify Metadata
  • Customize Application

Resolution

Refer to the Salesforce documents to assign these missing permissions to your SFDC 2.0 admin account: 

  1. Customize Application
  2. Author Apex
  3. Modify Metadata

Note: Professional Edition doesn't support Metadata API access; due to which, the Refresh Validation will generate the above-stated error.

Reference document: Configuring Environment Hub 

If this information does not help to resolve the issue, then please reach out to Druva Support Team for further assistance.

  • Was this article helpful?