function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Ganesh Deshmukh 4Ganesh Deshmukh 4 

I am getting error on Query editor LikeSession_Date__c, Level__c FROM Session__c ^ ERROR at Row:1:Column:49 sObject type 'Session__c' is not supported. If you are attempting to use a custom object, be sure to append the '__c' after the entity name.

Session_Date__c, Level__c FROM Session__c
                               ^
ERROR at Row:1:Column:49
sObject type 'Session__c' is not supported. If you are attempting to use a custom object, be sure to append the '__c' after the entity name. Please reference your WSDL or the describe call for the appropriate names.
Nayana KNayana K
Object with Session__c API name is not present in the Org. Double check!
pavan501pavan501
Hi,

if you have defined a namespace prefix you need to give the full API name with Namespace Prefix else it will give error.

Mark as best answer if this solves your query.

Thanks 
Pavan
Ganesh Deshmukh 4Ganesh Deshmukh 4
Hi,

I have created like this.
Singular LabelSession
Namespace PrefixCS_Order
API NameCS_Order__Sessions__c
I have tried this
SELECT Id, Name, Session_Date__c, Level__c FROM CS_Order__Sessions__c
Still not working.
Ganesh Deshmukh 4Ganesh Deshmukh 4
error :

ERROR at Row:1:Column:18
No such column 'Session_Date__c' on entity 'CS_Order__Session__c'. If you are attempting to use a custom field, be sure to append the '__c' after the custom field name.
pavan501pavan501
Hi,

you need to include namespace prefix for fields also.

try this query.

select id,name,cs_order__session_date__c,cs_order__level__c from cs_order__sessions__c;

Thanks
Pavan