#manikandan_rajkumar
1 messages · Page 1 of 1 (latest)
Hi what's the problem you're facing?
stripe.error.InvalidRequestError: Request req_O0PRpJOZMMIoLz: Only live keys can access this method.
I am getting the above error while performing the modify function
Yeah if you're trying to add an external account, you'll need to use your live key
Do u mean the api_key right?
Okay even after using that i am getting below error
stripe.error.PermissionError: Request req_PddyCNx48GvYxO: This application does not have the required permissions for this endpoint on account 'acct_1NYr6vQ2Rv1RaNmN'.
Can you check ths?
I am able to retieve but not able to modify
stripe.Account.modify_external_account(
"acct_1NYr6vQ2Rv1RaNmN",
"ba_1NYr8YQ2Rv1RaNmNOlf313Jd",
metadata={"alias_name": "name"},
)
The same i tried i have specified the key before ths step itself
Did you use oauth to connect that account?
Ok never mind that then
Looking
How are you making the call on the connect account?
Try using the platform's api key with the stripe account header like is shown in this doc: https://stripe.com/docs/connect/authentication
Getting the same error
Oh hm
Recommend contacting our support team then: https://support.stripe.com/contact
Find help and support for Stripe. Our support center provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.