Skip to content

[source klaviyo] Missing fields latest release #55208

@tuday2

Description

@tuday2

Connector Name

source-klaviyo

Connector Version

2.14.2

What step the error happened?

During the sync

Relevant information

The recent updates to the connector adding: "include": "metric,attributions" have not resolved the issue of the missing attribution data.

I used the Klaviyo developer website and queried a specific event I know has attribution data (from the console) and returned the below showing the "included" block. That is not being ingested by Airbyte and is needed to get back to what we had before the API version update.

Here is what the correct block looks like (i anonymized the record) , Airbyte is missing everything in the "included" block :

{
  "data": {
    "type": "event",
    "id": "xxx",
    "attributes": {
      "timestamp": 1739720612,
      "event_properties": {
        "event_id": "rrreventit",
        "order_value": 100.00,
        "OrderId": "orderid",
        "Tax": 6.93,
        "Shipping": 0,
        "ItemTotal": 99.99,
        "Discount": 0,
        "OrderTotal": 100.00,
        "OrderStatus": "Pending Fulfillment",
        "Promotion": "",
        "BillingAddress": {
        },
        "ShippingAddress": {
        },
        "$event_id": "hhheventid",
        "$value": 161.00
      },
      "datetime": "2025-02-16T15:43:32+00:00",
      "uuid": "uuid-uuid-uuid-uuid-uuid"
    },
    "relationships": {
      "profile": {
        "data": {
          "type": "profile",
          "id": "rrrprofileid"
        },
        "links": {
          "self": "https://a.klaviyo.com/api/events/xxx/relationships/profile/",
          "related": "https://a.klaviyo.com/api/events/xxx/profile/"
        }
      },
      "metric": {
        "data": {
          "type": "metric",
          "id": "zzzmetric"
        },
        "links": {
          "self": "https://a.klaviyo.com/api/events/xxx/relationships/metric/",
          "related": "https://a.klaviyo.com/api/events/xxx/metric/"
        }
      },
      "attributions": {
        "data": [
          {
            "type": "attribution",
            "id": "xxx"
          }
        ]
      }
    },
    "links": {
      "self": "https://a.klaviyo.com/api/events/xxx/"
    }
  },
  "included": [
    {
      "type": "attribution",
      "id": "xxx",
      "attributes": {},
      "relationships": {
        "event": {
          "data": {
            "type": "event",
            "id": "xxx"
          }
        },
        "attributed-event": {
          "data": {
            "type": "event",
            "id": "yyy"
          }
        },
        "campaign": {
          "data": {
            "type": "campaign",
            "id": "234234234234"
          }
        }
      },
      "links": {
        "self": null
      }
    }
  ],
  "links": {
    "self": "https://a.klaviyo.com/api/events/xxx?include=attributions"
  }
}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions