#Asad
1 messages · Page 1 of 1 (latest)
Are you receiving any API errors?
yes
I recieve an error saying, Request req_6aCAV99PJG5hy4: No such subscription: 'sub_1MZuyXIqSR0zjMEd4xwye73h'
My main account id is acct_1GwCJpI20znx8BW2
and sub_account id is acct_1MIIWNIqSR0zjMEd
@tall trail are you there?
Yes, I'm also helping other users. Please be patient
This request was made with keys of acct_1GwCJpI20znx8BW2. sub_1MZuyXIqSR0zjMEd4xwye73h belongs to acct_1MIIWNIqSR0zjMEd.
yes acct_1MIIWNIqSR0zjMEd is sub_account of acct_1GwCJpI20znx8BW2
You need to pass the Stripe-Account header as the platform to retrieve objects from connected accounts: https://stripe.com/docs/connect/authentication#stripe-account-header
let me see
@tall trail i can't see how can i retrieve subscription by adding stripe headers.
Even though retrieve subscription is not accepting any headers in it
Something like this:
stripe.Subscription.retrieve(
"sub_1MZuyXIqSR0zjMEd4xwye73h",
stripe_account="acct_1MIIWNIqSR0zjMEd"
)
👋 taking over for my colleague. Let me know if there's any follow-up Qs I can answer!
