Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Send historical order data to Klaviyo function fails because of timestamp error #137

Open
jornwildenbeest opened this issue Jan 22, 2025 · 0 comments

Comments

@jornwildenbeest
Copy link

The Send historical order data to Klaviyo function fails because of an invalid time format.

Talking about the functionality on the /admin/utilities/klaviyo-connect?site=default page.

The error you eventually get is

{"errors":[{"id":"3ced2596-0046-4011-afc2-41f3be4f9e9f","status":400,"code":"invalid","title":"Invalid input.","detail":"Please provide a valid date in the format YYYY-MM-DD, YYYY-MM-DDTHH:MM:SS, or YYYY-MM-DDTHH:MM:SSZ","source":{"pointer":"/data/attributes/time"},"links":{},"meta":{}}]}

I've made a pull request for the fix: #136

This is only for Craft 4, but I assume the same fix can be implemented for Craft 5

@jornwildenbeest jornwildenbeest changed the title Send historical order data to Klaviyo function fails Send historical order data to Klaviyo function fails because of timestamp error Jan 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant