Exception: KeyError - UntriagedOccurred on sentrypeer (prod) in backgroundon October 25, 2023 at 07:17 (UTC)MESSAGE** (KeyError) key :plan not found in:
SUMMARY
File:
lib/sentrypeer_web/live/customer_billing_live/index.html.heex:87 in anonymous fn/2 in SentrypeerWeb.CustomerBillingLive.Index.render/1
Host:
3d8d5d0fe20338
Path:
View in AppSignal
Exception: KeyError - Untriaged
Occurred on sentrypeer (prod) in web
on October 25, 2023 at 07:17 (UTC)
MESSAGE
** (KeyError) key :plan not found in: %Stripe.Subscription{
default_tax_rates: [],
pending_update: nil,
id: "",
transfer_data: nil,
items: %Stripe.List{
object: "list",
data: [
%Stripe.SubscriptionItem{
billing_thresholds: nil,
created: 1689975335,
id: "si_OJ35Lib9FNSpHR",
metadata: %{},
object: "subscription_item",
plan: %Stripe.Plan{
active: true,
aggregate_usage: nil,
amount: 0,
amount_decimal: "0",
billing_scheme: "per_unit",
created: 1684227688,
currency: "gbp",
id: "price_1N8Jl6Hccrzv2cWAoVutMpBf",
interval: "month",
interval_count: 1,
livemode: true,
metadata: %{},
nickname: "Contributor",
object: "plan",
product: "prod_Nu81d3g8JSc5It",
tiers: nil,
tiers_mode: nil,
transform_usage: nil,
trial_period_days: nil,
usage_type: "licensed"
},