Permission inconsistency between Stripe extension and Stripe app
We are currently implementing our migration from a Stripe extension to a Stripe app.
However, we hit an issue.
As a Stripe extension, we can list all connected accounts of our connected accounts using https://stripe.com/docs/api/accounts/list.
As a Stripe app, even though we request the permission connected_account_read, we get the following error:
You cannot access the connected accounts of your platform's connected accounts.
hi @clement911
Stripe has historically blocked access to the connected accounts of your connects accounts. Could you let me know what the account_id of the extension you saw this access working with so I can investigate further? Thanks!
Hi @chaves-stripe.
The account_id is acct_1FeQQXKCCxquzPPm.
Note that accounts/get has always been blocked however we've always been able to call accounts/list to get the connected accounts of our connected accounts.
@chaves-stripe any updates?
Hi @clement911, I have a few more questions!
- You say you are migrating, are you developing your stripe app on the same account as the extension? (acct_1FeQQXKCCxquzPPm)
- Is this error surfacing from making this call from a UI extension, or from your app's backend? Thanks!
@chaves-stripe
- Yes
- From the backend/server-side
Hi @clement911 ,
I see that account acct_1FeQQXKCCxquzPPm does have access to your platforms connected accounts. However, I do not see any errors of that kind on account acct_1FeQQXKCCxquzPPm when looking into our logs. Can you provide more information around a request where you see this log, for example the connected account ID you are using? Or the request ID from your Developer logs in the Stripe Dashboard? Thanks and apologies this has been difficult to track down!
@chaves-stripe apologies for the very late reply. Here is a recent example in test mode: https://dashboard.stripe.com/acct_1FgoYfHwLf3OFt3y/test/logs/req_6TYmzP53r3Nb8q?t=1691391100
@chaves-stripe , just checking back on this issue.