Salesforce apex class, unable for deploy for this organization

529 Views Asked by At

I created a simple apex class but its not allowing me deploy it from vs code. It is giving me "Not available for deploy for this organization". I thought this was strange bc I am able to deploy lwc's.

I gave my user modify all data settings, but not able to see developer console in salesforce as well? Thinking somethings not configured right?

enter image description here

1

There are 1 best solutions below

2
On

Possibly an API version issue, usually dropping it by 1 (see .xml file) is enough to resolve.

Aside from that, Dev Console can be accessed via the settings cog in top-right (and standard System Admin profile should have access to everything, assign that to your user record if not already assigned).

Settings cog