I sent some events with "Ordered Product" and "Placed Order", but not even one of them is visible in Klaviyo Panel. I already tried to change field types (string, integer, float). If I sent wrong request I had error messages, but now response is empty. If you need logs, I can send them later.
Regards, Peter
Best answer by Kim Strauch
@PeterZ97 It appears you are using the same profile ID across many email addresses. Otherwise the syntax for your calls looks correct.
I’d recommend removing the “id” from the profile part of your payload and providing only the email address. As mentioned above, you just need a single profile identifier, so email should work for you. Hopefully that resolves the issue here!
Hey, thanks for your answers, but I think it’s other type of problem.
I added metrics in profile, but I still need to get backend data from my application and put it into Klaviyo. As you can see my “Ordered Product” and “Placed Order” values equals 0, but in my app logs I don’t have any errors, only empty response.
It’s custom integration, I tried to change requests but nothing happened. Klaviyo always returns empty response, without any error code, error message, anything. If I don’t see any errors I can’t debug application and adjust it to current API version.
Please, I need to finish before Klaviyo disable old versions.
@PeterZ97, would you be able to share an example request payload — redacting any PII / private keys— you’re using here as well as the public API key for the account you’re testing with?
We need a little more information to be able to better understand how best to help here.
One thing that’s hard to tell from your request payload above is whether the things marked as arrays are passed in as arrays vs. as objects. Our APIs are expecting to receive these as objects.
One other thing that might be a problem here is if you’re using an invalid profile ID (profile ID is not required, but you need ≥1 profile identifier) or if the profile ID and email you’re providing are leading to a conflicting situation, causing the profile resolution to fail (e.g. if the email address provided belongs to a profile other than the one referenced by the profile ID).
@PeterZ97 It appears you are using the same profile ID across many email addresses. Otherwise the syntax for your calls looks correct.
I’d recommend removing the “id” from the profile part of your payload and providing only the email address. As mentioned above, you just need a single profile identifier, so email should work for you. Hopefully that resolves the issue here!