14

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?

1
  • I had this problem. I had been emulating system users, which may have been part of the problem. In any event, I closed all windows, thereby logging out. When I logged back in, it worked! Commented Jul 25 at 22:14

1 Answer 1

19

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.

4
  • 2
    Interestingly running anon apex only requires author apex in the dev console. It's available at an API level with just "API Enabled" Commented Feb 9, 2016 at 1:32
  • 4
    Also, make sure you are not logged in as another user through admin Log In As. This is what brought me here. Commented Jul 24, 2018 at 23:05
  • correct me if I'm wrong, that "View All Data" permission is only assigned via permission set?
    – compski
    Commented Dec 5, 2019 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
    Commented Dec 5, 2019 at 2:44

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .