1

When i tried to pull "ContentNote" i was getting the below exception.

INVALID_TYPE: sObject type 'ContentNote' 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.

Then i tried with 'ContentNote__c' i was getting the same exception.

INVALID_TYPE: sObject type 'ContentNote__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.

Could you anyone help me how to pull ContentNote data?

  • Just had same error and changing the API version of the class containing the query to 32.0 fixed it for me,. – Keith C Jun 28 '18 at 20:59
2

You would need to enable the new notes feature as mentioned in following help document, if not done already:

Other cause could be that your API version of class/trigger to a lower version than 32.0.

From documentation:

ContentNote: Represents a note in Salesforce. This object is available in API version 32.0 and later.

  • I have checked in Note Settings and its already enabled!. – sekar perumal Jun 23 '17 at 13:26
  • 1
    Just had same error and changing the API version of the class containing the query to 32.0 fixed it for me, – Keith C Jun 28 '18 at 20:58

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.