All Collections
Knowledge Base
Endpoint and SaaS Apps
Troubleshooting - Endpoint and SaaS Apps
Error while running Refresh Validation in Org Tools(SFDC 2.0): INVALID TYPE: Cannot use ApexTrigger in this organization
Error while running Refresh Validation in Org Tools(SFDC 2.0): INVALID TYPE: Cannot use ApexTrigger in this organization
Updated over a week ago

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:

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.

Did this answer your question?