cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Get Contact in Emarsys returns error 2004 Invalid key field id

former_member15112
Discoverer
0 Kudos
576

Hi, I am new in Emarsys and for now I am trying to get the contact data from postman https://dev.emarsys.com/docs/emarsys-api/1390c2e1ee412-get-contact-data.

Unfortunately, I got this error

{"replyCode":2004,"replyText":"Invalid key field id: xxxxxxx","data":""}

I am not sure about the value of the payload request needed in the body (especially this keyValues). I've been trying to change give email or uid in the keyId value, but still having the same error.

Here is the example of my payload request

{ "contact_list_id": xxxxxxx, "keyId": "xxxxxxx", "keyValues": [ "Email" //I am not sure what I have to put here ], "fields": [ "1","2", "3" ]}

It is strange because with getContactList endpoint it is working

Any help is appreciated, thanks 🙂

Accepted Solutions (0)

Answers (0)