After looking into this further it seems that we are having issues with verifying the SSL certificate from Klaviyo:
“curl: (60) Peer's Certificate has expired.”
sometimes the API retuns zero sometimes the ask fails.
Hello @cdetdi,
Thanks for sharing your question with the Klaviyo Community!
With any outages or issues pertaining to Klaviyo’s system performances, Klaviyo will report them on the Klaviyo Status. You can also following along to this page to receive future updates by subscribing via the button in the top right.
An API response of 0 is returned if the payload is not processed. This can be caused by a number of reasons. For example, a 0 response can be caused by having missing/invalid email, missing/invalid public key, malformed base64 string, malformed JSON, etc.
Since you were able to identify this being cause by an SSL certification error, I would suggested reviewing this within your own backend such as checking if you have any outdated libssl, ca-certs, etc. that may be the root cause of these call failures.
I hope you have a great day!
David
We are still having this issue. Server host insists that our configuration is valid. This is intermittent - it stopped happening for about 48 hours and is happening again.
We are getting 0 responses for payloads that were accepted previously - we’ve repeated an identical profile payload that we knew was accepted previously and got 0 back.
Wanted to follow up on this in case others ran into the same problem. Even though I had reviewd this a bunch of times, all the Klaviyo support articles pointed to a SSL certificate failure. All my tests showed that my SSL cert was accurate, and talking with my server host confirmed this. However, there was an expired certificate on a developer account on the same server. Removing that expired certificate resolved the error.
Hi @cdetdi,
Thank you for sharing your learnings with the Klaviyo community. This will be immensely helpful to others who may run into a similar problem in the future.
Have a wonderful rest of your week.