Skip to main content
All CollectionsTroubleshootingComparisons
Why can't I see any Apex classes in my comparison?
Why can't I see any Apex classes in my comparison?

This article debugs missing Apex classes from a comparison

Ali Daw avatar
Written by Ali Daw
Updated over 2 months ago

You may find that when running a comparison in Gearset, no Apex classes appear for an org in the results view, even though that org contains some.

The first thing to check is that Apex classes are included in your metadata comparison filter:

If Apex classes are included in the filter, then your Salesforce user for this org may not have permission to edit Apex classes.

For Gearset to be able to compare and deploy Apex classes, the Salesforce user you used to connect to the org must have the Author Apex permission enabled:

Once you've enabled this permission, Gearset will be able to compare and deploy Apex classes to this org as normal.

Did this answer your question?