Stripe Source Broken After Upgrade

  • Is this your first time deploying Airbyte?: No
  • OS Version / Instance: EC2
  • Memory / Disk: Enough of both
  • Deployment: Docker
  • Airbyte Version: What version are you using now? 0.38.1
  • Source name/version: Stripe Latest
  • Destination name/version: Redshift Latest
  • Step: Sync
  • Description: Stripe logs are spammed with the following. Previous 5 hour job never completes, I’ve attempted to do a full refresh, there are roughly 1mm lines of logs, most all of which are the snippet below repeated every few minutes.
2022-05-11 19:29:46 e[33mWARNe[m i.a.w.DefaultReplicationWorker(lambda$getReplicationRunnable$5):298 - Record schema validation failed. Errors: json schema validation failed when comparing the data to the json schema. 
Errors: $.discount: object found, but [null, string] is required 
Schema: 
{
  "type" : [ "null", "object" ],
  "properties" : {
    "id" : {
      "type" : [ "null", "string" ]
    },
    "tax" : {
      "type" : [ "null", "integer" ]
    },
    "paid" : {
      "type" : [ "null", "boolean" ]
    },
    "lines" : {
      "type" : [ "null", "array", "object" ],
      "items" : {
        "type" : [ "null", "string" ]
      },
      "properties" : { }
    },
    "total" : {
      "type" : [ "null", "integer" ]
    },
    "charge" : {
      "type" : [ "null", "string" ]
    },
    "closed" : {
      "type" : [ "null", "boolean" ]
    },
    "number" : {
      "type" : [ "null", "string" ]
    },
    "object" : {
      "type" : [ "null", "string" ]
    },
    "status" : {
      "type" : [ "null", "string" ]
    },
    "billing" : {
      "type" : [ "null", "string" ]
    },
    "created" : {
      "type" : [ "null", "integer" ]
    },
    "payment" : {
      "type" : [ "null", "string" ]
    },
    "currency" : {
      "type" : [ "null", "string" ]
    },
    "customer" : {
      "type" : [ "null", "string" ]
    },
    "discount" : {
      "type" : [ "null", "string" ]
    },
    "due_date" : {
      "type" : [ "null", "number" ]
    },
    "forgiven" : {
      "type" : [ "null", "boolean" ]
    },
    "livemode" : {
      "type" : [ "null", "boolean" ]
    },
    "metadata" : {
      "type" : [ "null", "object" ],
      "properties" : { }
    },
    "subtotal" : {
      "type" : [ "null", "integer" ]
    },
    "attempted" : {
      "type" : [ "null", "boolean" ]
    },
    "discounts" : {
      "type" : [ "null", "array" ],
      "properties" : {
        "end" : {
          "type" : [ "null", "integer" ]
        },
        "start" : {
          "type" : [ "null", "integer" ]
        },
        "coupon" : {
          "type" : [ "null", "object" ],
          "properties" : {
            "id" : {
              "type" : [ "null", "string" ]
            },
            "name" : {
              "type" : [ "null", "string" ]
            },
            "valid" : {
              "type" : [ "null", "boolean" ]
            },
            "object" : {
              "type" : [ "null", "string" ]
            },
            "created" : {
              "type" : [ "null", "integer" ]
            },
            "currency" : {
              "type" : [ "null", "string" ]
            },
            "duration" : {
              "type" : [ "null", "string" ]
            },
            "livemode" : {
              "type" : [ "null", "boolean" ]
            },
            "metadata" : {
              "type" : [ "null", "object" ],
              "properties" : { }
            },
            "redeem_by" : {
              "type" : [ "null", "number" ]
            },
            "amount_off" : {
              "type" : [ "null", "integer" ]
            },
            "percent_off" : {
              "type" : [ "null", "number" ]
            },
            "times_redeemed" : {
              "type" : [ "null", "integer" ]
            },
            "max_redemptions" : {
              "type" : [ "null", "integer" ]
            },
            "duration_in_months" : {
              "type" : [ "null", "integer" ]
            },
            "percent_off_precise" : {
              "type" : [ "null", "number" ]
            }
          }
        },
        "object" : {
          "type" : [ "null", "string" ]
        },
        "customer" : {
          "type" : [ "null", "string" ]
        },
        "subscription" : {
          "type" : [ "null", "string" ]
        }
      }
    },
    "amount_due" : {
      "type" : [ "null", "integer" ]
    },
    "period_end" : {
      "type" : [ "null", "number" ]
    },
    "amount_paid" : {
      "type" : [ "null", "integer" ]
    },
    "description" : {
      "type" : [ "null", "string" ]
    },
    "invoice_pdf" : {
      "type" : [ "null", "string" ]
    },
    "tax_percent" : {
      "type" : [ "null", "number" ]
    },
    "auto_advance" : {
      "type" : [ "null", "boolean" ]
    },
    "period_start" : {
      "type" : [ "null", "number" ]
    },
    "subscription" : {
      "type" : [ "null", "string" ]
    },
    "attempt_count" : {
      "type" : [ "null", "integer" ]
    },
    "billing_reason" : {
      "type" : [ "null", "string" ]
    },
    "ending_balance" : {
      "type" : [ "null", "integer" ]
    },
    "receipt_number" : {
      "type" : [ "null", "string" ]
    },
    "application_fee" : {
      "type" : [ "null", "integer" ]
    },
    "amount_remaining" : {
      "type" : [ "null", "integer" ]
    },
    "starting_balance" : {
      "type" : [ "null", "integer" ]
    },
    "hosted_invoice_url" : {
      "type" : [ "null", "string" ]
    },
    "next_payment_attempt" : {
      "type" : [ "null", "number" ]
    },
    "statement_descriptor" : {
      "type" : [ "null", "string" ]
    },
    "statement_description" : {
      "type" : [ "null", "string" ]
    },
    "webhooks_delivered_at" : {
      "type" : [ "null", "number" ]
    }
  },
  "$schema" : "http://json-schema.org/draft-07/schema#"
}
2022-05-11 19:29:46 e[33mWARNe[m i.a.w.DefaultReplicationWorker(lambda$getReplicationRunnable$5):298 - Record schema validation failed. Errors: json schema validation failed when comparing the data to the json schema. 
Errors: $.discount: object found, but [null, string] is required 
Schema: 
{
  "type" : [ "null", "object" ],
  "properties" : {
    "id" : {
      "type" : [ "null", "string" ]
    },
    "tax" : {
      "type" : [ "null", "integer" ]
    },
    "paid" : {
      "type" : [ "null", "boolean" ]
    },
    "lines" : {
      "type" : [ "null", "array", "object" ],
      "items" : {
        "type" : [ "null", "string" ]
      },
      "properties" : { }
    },
    "total" : {
      "type" : [ "null", "integer" ]
    },
    "charge" : {
      "type" : [ "null", "string" ]
    },
    "closed" : {
      "type" : [ "null", "boolean" ]
    },
    "number" : {
      "type" : [ "null", "string" ]
    },
    "object" : {
      "type" : [ "null", "string" ]
    },
    "status" : {
      "type" : [ "null", "string" ]
    },
    "billing" : {
      "type" : [ "null", "string" ]
    },
    "created" : {
      "type" : [ "null", "integer" ]
    },
    "payment" : {
      "type" : [ "null", "string" ]
    },
    "currency" : {
      "type" : [ "null", "string" ]
    },
    "customer" : {
      "type" : [ "null", "string" ]
    },
    "discount" : {
      "type" : [ "null", "string" ]
    },
    "due_date" : {
      "type" : [ "null", "number" ]
    },
    "forgiven" : {
      "type" : [ "null", "boolean" ]
    },
    "livemode" : {
      "type" : [ "null", "boolean" ]
    },
    "metadata" : {
      "type" : [ "null", "object" ],
      "properties" : { }
    },
    "subtotal" : {
      "type" : [ "null", "integer" ]
    },
    "attempted" : {
      "type" : [ "null", "boolean" ]
    },
    "discounts" : {
      "type" : [ "null", "array" ],
      "properties" : {
        "end" : {
          "type" : [ "null", "integer" ]
        },
        "start" : {
          "type" : [ "null", "integer" ]
        },
        "coupon" : {
          "type" : [ "null", "object" ],
          "properties" : {
            "id" : {
              "type" : [ "null", "string" ]
            },
            "name" : {
              "type" : [ "null", "string" ]
            },
            "valid" : {
              "type" : [ "null", "boolean" ]
            },
            "object" : {
              "type" : [ "null", "string" ]
            },
            "created" : {
              "type" : [ "null", "integer" ]
            },
            "currency" : {
              "type" : [ "null", "string" ]
            },
            "duration" : {
              "type" : [ "null", "string" ]
            },
            "livemode" : {
              "type" : [ "null", "boolean" ]
            },
            "metadata" : {
              "type" : [ "null", "object" ],
              "properties" : { }
            },
            "redeem_by" : {
              "type" : [ "null", "number" ]
            },
            "amount_off" : {
              "type" : [ "null", "integer" ]
            },
            "percent_off" : {
              "type" : [ "null", "number" ]
            },
            "times_redeemed" : {
              "type" : [ "null", "integer" ]
            },
            "max_redemptions" : {
              "type" : [ "null", "integer" ]
            },
            "duration_in_months" : {
              "type" : [ "null", "integer" ]
            },
            "percent_off_precise" : {
              "type" : [ "null", "number" ]
            }
          }
        },
        "object" : {
          "type" : [ "null", "string" ]
        },
        "customer" : {
          "type" : [ "null", "string" ]
        },
        "subscription" : {
          "type" : [ "null", "string" ]
        }
      }
    },
    "amount_due" : {
      "type" : [ "null", "integer" ]
    },
    "period_end" : {
      "type" : [ "null", "number" ]
    },
    "amount_paid" : {
      "type" : [ "null", "integer" ]
    },
    "description" : {
      "type" : [ "null", "string" ]
    },
    "invoice_pdf" : {
      "type" : [ "null", "string" ]
    },
    "tax_percent" : {
      "type" : [ "null", "number" ]
    },
    "auto_advance" : {
      "type" : [ "null", "boolean" ]
    },
    "period_start" : {
      "type" : [ "null", "number" ]
    },
    "subscription" : {
      "type" : [ "null", "string" ]
    },
    "attempt_count" : {
      "type" : [ "null", "integer" ]
    },
    "billing_reason" : {
      "type" : [ "null", "string" ]
    },
    "ending_balance" : {
      "type" : [ "null", "integer" ]
    },
    "receipt_number" : {
      "type" : [ "null", "string" ]
    },
    "application_fee" : {
      "type" : [ "null", "integer" ]
    },
    "amount_remaining" : {
      "type" : [ "null", "integer" ]
    },
    "starting_balance" : {
      "type" : [ "null", "integer" ]
    },
    "hosted_invoice_url" : {
      "type" : [ "null", "string" ]
    },
    "next_payment_attempt" : {
      "type" : [ "null", "number" ]
    },
    "statement_descriptor" : {
      "type" : [ "null", "string" ]
    },
    "statement_description" : {
      "type" : [ "null", "string" ]
    },
    "webhooks_delivered_at" : {
      "type" : [ "null", "number" ]
    }
  },
  "$schema" : "http://json-schema.org/draft-07/schema#"
}
2022-05-11 19:29:46 e[33mWARNe[m i.a.w.DefaultReplicationWorker(lambda$getReplicationRunnable$5):298 - Record schema validation failed. Errors: json schema validation failed when comparing the data to the json schema. 
Errors: $.discount: object found, but [null, string] is required 

Any advice that will get me back to a working state would be appreciated

Above logs are from a full refresh, after refreshing schema and resetting data. The same issue was happening before schema refresh

Jeff did you update the schema after upgrading the Stripe connector version?

Yes I refreshed schema and did a full reset

Finished with success, but sucessful runs are still being spammed with > 1mm log lines similar to above

A solution it is in progress: https://github.com/airbytehq/airbyte/pull/12875 hope next version is publish with it.