cancel
Showing results for 
Search instead for 
Did you mean: 

Getting an error while loading data into SAP Hybris Marketing

nicolae_ciumac
Participant
0 Kudos

Hi,

When trying to load data into SAP Hybris Marketing via CUAN_IMPORT_SRV service, I get an error saying:

Method 'IMPORTHEADERS_CREATE_ENTITY' not implemented in data provider class.

Please find in the answer below some insights.

Cheers

Accepted Solutions (1)

Accepted Solutions (1)

nicolae_ciumac
Participant

The cause for this error is, that the service was not called as expected (the caller has passed a json/xml payload which doesn't have the expected structure).

This service supports only a so-called "deep create" operation. So if you get the error from above, you most probably tried to post an entity "ImportHeaders" explicitely. You would get a comparable error if you tried to similarly post directly other entities of the service.

A good example of how the service expects the payload can be found here:

https://help.sap.com/viewer/p/SAP_HYBRIS_MARKETING_CLOUD --> then click on "Integration Guide" --> then navigate left to "Integration Services" - then "Compound Import Service" - then "Contacts" and scroll all the way down.

Best regards,

Nico

Answers (0)