I am having an issue saving any lightning component code in the developer console. I think that this must be an issue with Salesforce because even just changing string values with in html causes error which definitely should not happen. I cannot save any new code, when I attempt to I get this error every single time:

Failed to save dataTable.cmp: ; nested exception is: common.exception.ApiQueryException: select Id from Site ^ ERROR at Row:1:Column:16 sObject type 'Site' 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.: Source

Why do I get this error? How can I fix it?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.