Skip to main content
Solved

Klaviyo API Migration

  • May 9, 2024
  • 1 reply
  • 103 views

Forum|alt.badge.img

Hi, I received an email recently about needing to update our v1/v2 APIs to the new version. I followed the instructions, the first step was to generate a report on our APIs. In the report it gives a list of “Endpoint paths” that need upgrading, e.g. POST /v2/list/<list_id>/subscribe. Also in the report is a “New Docs” list, e.g. https://developers.klaviyo.com/en/reference/subscribe_profiles which is equivalent to the API I’m replacing. I took the C# code template and hooked it into my Klaviyo service, this was subscribing a user to my Klaviyo list when I first tested it on April 19th 2024. I tested it again recently, I am now getting the error below. Can someone help me?

 

{"errors":[{"id":"704fc07f-eab8-408c-bad0-dbc6957cc47c","status":404,"code":"not_found","title":"Not found.","detail":"Invalid revision for method, please check our documentation for our version policy: https://developers.klaviyo.com/en/docs/api_versioning_and_deprecation_policy","source":{"pointer":"/data/"}}]}

Best answer by Arif Astori

Adding a revised version in the header will hopefully fix the issue.

View original
Did this topic or the replies in the thread help you find an answer to your question?

1 reply

Forum|alt.badge.img+1
  • Problem Solver I
  • 6 replies
  • Answer
  • May 9, 2024

Adding a revised version in the header will hopefully fix the issue.


Reply