Could not find a property named 'abc'

When data is being transferred from one system to another, you might see the following error message:

The REST service returned a status code that is not 20x - i.e. not OK - Status code received: 400 Internal Server Error

Response body: {"error":{"code":"","message":"An error has occurred.","innererror":{ "message":"Could not find a property named 'ModifiedDateTime' on type 'Microsoft.Dynamics.DataEntities.SalesOrderLineV3'.

This typically means that the OData query or request payload includes a property or field (ModifiedDateTime) that does not exist in the specified entity (SalesOrderLineV3). It fails because it cannot find this property in the entity metadata. 

Solutions:

  • If this field/property has been added recently on that specific data entity, then you would need to open your ODATA connection that is being used for this transfer and click on Read Design. Afterwards, the field will be available as part of the data layout and you can use it on your transfer. 
  • If this field is no longer used and has been removed and you cannot see it in the data layout anymore, you would need to remove it from your transfer, Activate Changes and run the transfer again to confirm that everything runs correctly.