Hi there,
We use this API to fetch the campaign recipients. We use pagination to control the number of records fetched per API call.
In recent times, the API is misbehaving, i.e. it returns the same “next_offset” value as the input. Example:
curl --location --request GET 'https://a.klaviyo.com/api/v1/campaign/WihTjL/recipients?api_key=pk_***&offset=bWFkaHVyaS5oYUBoZXZvZGF0YS5jb20=&count=3&sort=asc'
And in the response it returns next_offset = bWFkaHVyaS5oYUBoZXZvZGF0YS5jb20=
again. Thus, creating an infinite call sequence.
Can you please have a look and let me know the resolution?
PS: There are more than 3 recipients to this campaign, so I don’t think I can treat the offset being same as next_offset as a termination criteria.