If you've noticed '400' errors in your API calls to Instant, this is expected behavior and not a cause for concern. These errors occur when we attempt to retrieve a profile using a Klaviyo encrypted ID, known as the 'kxID', which may have expired.
What is a kxID?
A kxID is a unique identifier associated with your customer's profile and is used to securely link their profile to an email address and other information.
These IDs are temporary and will expire after a few days to ensure added security and privacy.
Why Are "400" Errors Occurring?
The "400" occurs when we attempt to retrieve a profile using a kxID that has expired.
- If the kxID is still valid (i.e., not expired), we can successfully exchange it for the corresponding email address.
- If the kxID has expired, a "400" error is returned. This is the error that is being reported on your dashboard.
Why Does the "kxID" Expire?
The kxID is tied to a specific session or visitor. When a shopper hasn't visited the website for a while, the kxID may expire (typically within a few days). If an attempt is made to retrieve a profile using this expired ID, this error occurs.
What Should I Do?
There’s no immediate action required on your part regarding these errors. They are expected and occur simply due to expired kxIDs.