11

What permission do you need in order to have Developer console works? I'm trying to debug my code and I'm login as a non-sys-admin but when I try to open the developer console I see the developer console opens but I get the following error:

[object object]: sObject type 'ApexExecutionOverlayAction' is not supported.

enter image description here

After click on --> I get the message loading workspace which never loads anything waited for 15 minutes nothing happens and does not seems its going anywhere

enter image description here

What does it mean? do I have to have some roles in order for developer console to work?

14

To use the Developer Console at all, you need the View All Data permission.

To run queries, you need to have the API Enabled permission.

To modify classes and triggers or run anonymous code, you need to have Modify All Data, Author Apex, and View Setup and Configuration.

To change Visualforce pages, components, Lightning, etc, you need the Customize Application permission.

You can read more about the permissions here: Using the Developer Console. Thanks to @sam_s for the link to the documentation.

  • 2
    Interestingly running anon apex only requires author apex in the dev console. It's available at an API level with just "API Enabled" – ca_peterson Feb 9 '16 at 1:32
  • 2
    Also, make sure you are not logged in as another user through admin Log In As. This is what brought me here. – MayTheSForceBeWithYou Jul 24 '18 at 23:05
  • correct me if I'm wrong, that "View All Data" permission is only assigned via permission set? – compski Dec 5 '19 at 2:24
  • @compski Permission Sets and Custom Profiles. Standard Profiles can't have their System Permissions modified. Of the Standard Profiles, only System Administrator has this permission. – sfdcfox Dec 5 '19 at 2:44

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.