Data Deployment Error: [InvalidSObjectFault [ApiQueryFault [ApiFault exceptionCode='INVALID_TYPE' exceptionMessage='sObject type <type> is not supported

When doing a data deployment, Salesforce may return the following error:
 
“[InvalidSObjectFault [ApiQueryFault [ApiFault exceptionCode='INVALID_TYPE' exceptionMessage='sObject type 'serviceappointment' 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.' extendedErrorDetails='{[0]}' ] row='-1' column='-1' ] ]“

This error indicates that a certain feature (e.g. history tracking) is enabled in the source organization but not in the destination organization, so the object is not available.

Enable the feature in the destination organization, and this will fix the issue.


How did we do?