Skip to Content

Not able to import Contacts using new public APIs SAP Hybris Marketing 1711

Dear All,

I am trying to import Contacts using new public APIs in SAP Hybris Marketing Cloud 1711. I am using Postman to do a demo, but I am not able to get it due to some errors exist.

I am just trying import a Test Contact, this is my JSON file:

json1.png

json2.png

The procedure is:

1. Do a call OdataServices, using my communication user and adding a new header ( X-CSRF-Token: Fetch)

2. Then use the received value of X-CSRF-Token to do a POST. Add a "Content-type: application/json" and post my code. (Images json1.png and json2.png)

The problem is that I get an error and I don't know what is wrong....

error.png

Anyone know what could be the problem?

Thanks!!

Best regards,

Laura

json1.png (67.4 kB)
error.png (78.0 kB)
json2.png (72.6 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Nov 28, 2017 at 08:33 AM

    Hi Laura,

    under "Marketing Permissions" you changed the data for ContactID (SAP_HYBRIS_CONSUMER) and the ContactOrigin (55432). Maybe that leads to the error.

    Regards

    Tobias

    Add comment
    10|10000 characters needed characters exceeded