+ Start a Discussion
Mandodari RawatMandodari Rawat 

sObject type 'Session__c' is not supported

In the query editor I put this SOQL 
SELECT Id, Name, Session_Date__c, Level__c FROM Session__c

I got this error
sObject type 'Session__c' is not supported.
Best Answer chosen by Mandodari Rawat
Mandodari RawatMandodari Rawat
It works when I uncheck the 'Use Tooling API' Checkbox in Query Editor. The 'Use Tooling API' checkbox is just after 'Execute' button.

All Answers

@Karanraj@Karanraj
Do you have custom object with the API name session in your org?
Check under Setup->Create->Object and give the proper API name of the object in the query editor
Mandodari RawatMandodari Rawat
Yes, sObject 'Session__c' is there with the exact API name. I can't figure it out why this error is coming...
Mandodari RawatMandodari Rawat
It works when I uncheck the 'Use Tooling API' Checkbox in Query Editor. The 'Use Tooling API' checkbox is just after 'Execute' button.
This was selected as the best answer