Skip to main content

#Odata0 personne en discute

I am following the this documentation and downloaded the example odata4 mule project. I got it working locally and deployed it to cloudhub with no isssues, I then connected it with my salesforce playground and was able to synced and validated it without error. 'Writable External Objects' is checked.

 

It works in standard report and SOQL but when I am doing CRUD like inserting or updating records an error message appears "Unknown column '@odata.type' in 'field list'". I checked the logs in anypoint platform and the payload has additional fields that causes the CRUD operation to have error.

 

{"@odata.type":"#odata.namespace.Transactions","TransactionNumber@odata.type":"String","TransactionNumber":"\"654654654"}

 

why is that? and how can I fix this to be able to use CRUD on external objects?. thank you for your time.

1 réponse
  1. 26 mars 2024, 00:10

    Hello,

     

    Write a DataWeave Transformation to remove the extra field added by the OData connector,

     

    or

     

    Check Any Odata field to Salesforce metadata mapping available in Salesforce

     

    Or

     

    Check any configuration in connector to disable metadata

0/9000