#krista2780

1 messages ยท Page 1 of 1 (latest)

compact canopyBOT
naive grove
#

Hi there ๐Ÿ‘‹ what error are you running into? If it includes a request ID (req_), could you share that as well so I can take a closer look?

compact canopyBOT
stoic sandal
#

tripe.error.InvalidRequestError: Request req_BE2MqMyCvA8HqK: Received unknown parameter: stripe_account_id

#

stripe*

torn flax
fluid flame
#

interesting -- we (i'm working with Krista) are using the stripe python library and some calls just allow us to pass in the connected account_id, do you know if we need to manually set that header or if the python library has a way of setting it for us?

torn flax
stoic sandal
#

that also doesnt work. we get "no sush coupon exists"

torn flax
#

can you share the new request ID?

stoic sandal
#

stripe.error.InvalidRequestError: Request req_hhRFHsiolUqCc9: No such coupon: ****

torn flax
#

Oh that coupon doesn't belong to the connected account

#

it was created by the platform on the platform account

compact canopyBOT
stoic sandal
#

I see, you're right that is an old coupon. I am testing the change you recommended to do stripe_account

#

It's difficult because sometimes the requets require stripe_account_id and sometimes its stripe_account and it seems inconsistent.

bitter merlin
#

๐Ÿ‘‹ stepping in as hanzo needs to step away

#

When passing the Stripe Account header it should not be a different key

#

Should be the same each time so not exactly sure what you mean by:

It's difficult because sometimes the requets require stripe_account_id and sometimes its stripe_account and it seems inconsistent.

stoic sandal
#

you're correct, all requests take stripe_account. sorry about that

#

it looks like we can delete the coupon now thank you

bitter merlin
#

Glad you figured it out!

fluid flame
#

thx all!