cancel
Showing results for 
Search instead for 
Did you mean: 

Replicate Contacts from Emarsys to CDP

DennisFoerster
Explorer
0 Kudos
988

Hello,

I'm trying to establish a connection between Emarsys and CDP. The standard connector (source) is not applicable, since it only replicates customers from CDP to emarsys but not the other way around.

Therefore, I created a new connection in connection studio and also a new get-event for customer replication from emarsys to CDP. After manual ingest, I see the following error message:

status code:400 response:{"replyCode":2004,"replyText":"Invalid key field id: ","data":""}

Fetching data error - rest service status code:400 response:{"replyCode":2004,"replyText":"Invalid key field id: ","data":""}<br>

This is my configuration:

API connection:

Ressources Tab

Events tab

Application settings

Event basics

Event model

Matching rules

Result

Accepted Solutions (0)

Answers (1)

Answers (1)

KunalBansal
Active Contributor
0 Kudos

Hi dennisfoer1993,

To bring out the Contacts from the Emarsys system, you need to use the Emarsys APIs.
Screenshots are blurred so not able to figure out exactly what's the connector configuration!

  • Could you please check if the API calls are working in Postman first and then setup a connection in CDP?
  • Please don't forget to create and assign a new "Processing Purpose"

Hope this was hopeful to close the thread.

Thank you.

Best Regards,

Kunal Bansal, SAP CX Architect

DennisFoerster
Explorer
0 Kudos

Hi bansal.kunal,

thanks for your quick answer. You should be able to see the attachments clearly by clicking on it in the attachments section.

I've already checked the API calls in postman. This is fine. I also assigned a processing purpose, I think the error musst be somewhere in the schema...

Best Regards,

Dennis

KunalBansal
Active Contributor
0 Kudos

Please map EMAIL to CRMID once and try.

Also, assign timestamp format as well.

DennisFoerster
Explorer
0 Kudos

Hi kunal_bansal I'm not getting an error now, this is great! Instead, the contacts ingested is always 0. Do you have an idea what the reason could be?

KunalBansal
Active Contributor
0 Kudos

Hi dennisfoer1993,

That's good news that no error.

Now, we need to understand that you cannot just import the entire contact at once from Emarsys >> CDP. Can you please limit it to 100 contacts for now (step 3 maybe)?

Also, you need to bear in mind the deduplication switch as well. I, unfortunately, don't have a system to check it for you, but I would recommend you apply the Rest APIs concepts, maybe take help from any API expert.

There's something missing for sure and screenshots are not enlarging and still blur for me. Maybe, try to share again.

br,

Kunal

KunalBansal
Active Contributor
0 Kudos

Can you change from CRM ID to CIAM ID once and check as well?

Also, share fresh screenshots please of steps 1-5 and any other relevant screens.

DennisFoerster
Explorer

Hi bansal.kunal hope you can see the configuration now on the screenshots. I tried to change to CIAM ID but there is still 0 ingestions. Also tried to limit to 100, but no success.

KunalBansal
Active Contributor
0 Kudos

Hi dennisfoer1993,
Please try below

  1. key identifier once as contact.3 here.
  2. Date format in schema here is yyyy-mm-dd, while emarsys stores in different format, so you need to take care of it. (try to remove the DOB field for testing once)

Also, can you Ingest and share the detailed log from Ingestion log (click on link from log).

DennisFoerster
Explorer
0 Kudos

Hi bansal.kunal,

thanks a lot for your help again. I think it has to do with the timestamp format. Unfortunately, I can't change the time format here:

When I save my configuration and go back to this page, the timestamp format is set to "ISO" again automatically. This might be a bug...

There is no detailed log from ingestion: