"Entity is not api accessible (Line: 1, Column: 8)"
Could not find what is actually causing error, or what it means.
Salesforce Stack Exchange is a question and answer site for Salesforce administrators, implementation experts, developers and anybody in-between. It only takes a minute to sign up.Sign up to join this community
I encountered this error, when I was trying to declare an instance of a Price Book standard Object.
My wrong declaration was:
PriceBook pb = new PriceBook();
Actually it should have been(after I checked with the standard dettails in Workbench):
PriceBook2 pb = new PriceBook2();
Things to keep in mind here:
A best practice for this, is to consult with the info of the Workbench interface, that provides more dettailed info for every entity in salesforce.