Skip to main content
Solved

Received Code 200 Successful but the event doesn't show in Klaviyo - Track Profile Activity

  • February 16, 2023
  • 2 replies
  • 146 views

Forum|alt.badge.img+2

Hi there!

I’m receiving code 200 successful integrating Track Profile Activity endpoint, but the event doesn’t show in Klaviyo.

Here’s the response:

{
"body": null,
"error": {
"status_code": 200,
"status_message": "OK",
"body": "\"0\""
},
"returned_an_error": false
}

 

Here’s my setup from bubble.io:

- I have included my public api key (TfN89i) instead of the private key
- I have included the header parameters for accept and content type
- I have made sure the $email in the call exists within Klaviyo AND has consent status
- I have set the body type to JSON
- I have copy and pasted the exact example (replacing api key and $email)

 

Thanks in advance for any help!

Best answer by jjensen_ksp

Hello Sergioleis,

Since you are sending the data in the body as JSON. The content-type header should be “application/json” not “application/x-www-form-urlencoded”

Hope it helps,

Jeff

View original
Did this topic or the replies in the thread help you find an answer to your question?

2 replies

Forum|alt.badge.img+5
  • Problem Solver I
  • 15 replies
  • Answer
  • February 16, 2023

Hello Sergioleis,

Since you are sending the data in the body as JSON. The content-type header should be “application/json” not “application/x-www-form-urlencoded”

Hope it helps,

Jeff


Forum|alt.badge.img+2
  • Author
  • Contributor II
  • 3 replies
  • February 16, 2023

Thanks so much @jjensen_ksp it’s working now!!!