what I do
connect js from Klaviyo
<script async type="text/javascript" src="//static.klaviyo.com/onsite/js/klaviyo.js?company_id=PUBLIC_API_KEY"></script>
than
<script>klaviyo.identify({"email":"some_email@gmail.com"});</script>
in response I see
{
"errors": [
{
"id": "03a6717c-f05d-4e85-8cc3-b58f5baef53d",
"status": 400,
"code": "invalid",
"title": "Invalid input.",
"detail": "Unable to parse exchange token.",
"source": {
"pointer": "/data/attributes/_kx"
},
"meta": {}
}
]
}
What I do wrong?
Solved
identify request return "Unable to parse exchange token"
+1
Best answer by dbpdev
pls close these one as resolved issue was in 1 letter (capitalize) of api key… omg..
Reply
Rich Text Editor, editor1
Editor toolbars
Press ALT 0 for help
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.