+ Start a Discussion
Eric Leland 3Eric Leland 3 

Error when using API to upload to ContentNote Object

We have the enhanced notes enabled in our Salesforce lightning edition. We are attempting to import to the "ContentNote" object via the API (not the data loader). We confirm that our WSDL file contains the ContentNote object and all the fields. However we get an API "invalid object" error. We have tried specifying the object name in the API call as "ContentNote" (as it is in the WSDL) and "ContentNote__c" (as the error message suggests) without success. We cannot see the object in the object manager, or in the list of objects when managing user profile object permissions. We can add a note to the enhanced note tool fine via the lightning user interface.

We have already reviewed the following:

- https://developer.salesforce.com/docs/atlas.en-us.api.meta/api/sforce_api_objects_contentnote.htm
- https://help.salesforce.com/articleView?id=Consideration-for-enhanced-notes-and-using-Files&language=en_US&type=1
- https://help.salesforce.com/articleView?id=Importing-Notes-to-the-ContentNote-object-using-the-Apex-Data-Loader&language=en_US&type=1)
- https://help.salesforce.com/articleView?id=ContentNote-insert-error-Note-Can-t-Be-Saved-Because-It-Contains-HTML-Tags-Or-Unescaped-Characters-That-Are-Not-Allowed-In-A-Note&language=en_US&type=1

Any thoughts?
Eric Leland 3Eric Leland 3
Any thoughts?
Eric Leland 3Eric Leland 3
Bueller?