Getting error every time that I try this request:

curl --request POST 'https://[MY SUBDOMAIN].rest.marketingcloudapis.com/interaction/v1/events' \ 
--header 'authorization: Bearer [TOKEN]' \
--header 'Content-Type: application/json' \
--data-raw '{
    "ContactKey": "example@example.com",
    "Data": {
  "message":"Internal Server Error"
  • If I have a typo on EventDefinitionKey the response tells me it does not exist
  • If I let data empty the response tells me that data is missing email

It most probably has something to do with the ContactKey but I don't even know where to start...

PS: I know this question is very related, but it is from when the endpoint was experimental and the answer does not help

  • I will be honest, I have been unable to replicate your error. Best I can offer is verify that the contactkey is in an acceptable format, eventdefinitionkey is not corrupted or similar, etc. – Gortonington Apr 3 '20 at 16:34
  • I would check required fields on your de and also is the contact being deleted? – EazyE Apr 3 '20 at 20:22

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.