#Arvind hariharan

1 messages ยท Page 1 of 1 (latest)

echo bronzeBOT
dusk lotus
#

Hi
Can you please share more details about your ask ?

flat frigate
#

Hi I am getting access restricted error when i am trying to create a financial session

#

{
"error": {
"message": "The provided key 'rk_test_*********************************************************************************************k684TS' does not have the required permissions for this endpoint on account 'acct_1EmM09A9wKNWChx1'. This is a restricted API key, but the required permissions are not available for use by restricted keys.",
"request_log_url": "https://dashboard.stripe.com/test/logs/req_StlTWo4qHbgmYj?t=1685618691",
"type": "invalid_request_error"
}
}

#

Can u please help in how to get the required permissions?

dusk lotus
#

Did you try to use a secret key and not restricted key ?

flat frigate
#

How to use secret key? do u have any example?

dusk lotus
flat frigate
#

I am using Stripe CLI and it is asscoiated with a restricted key

#

i am not able to edit the permssions and save it for that restricted key through the dashboard in test mode

dusk lotus
flat frigate
#

how to do that?

flat frigate
#

i just did stripe login and got logged in to stripe CLI.

#

okay

#

i am able to connect with secret key now

#

one more query

#

I am trying to create a financial session using this API

#

stripe financial_connections sessions create -d "account_holder[type]"=customer -d "account_holder[customer]"=cus_O0AcfuKPub48ow -d "permissions[0]"=balances -d "prefetch[0]"=balances --api-key sk_test_7l2hSn3KdqfKleV0PDdh7xth00QLOYTTHO

#

and i am getting the below error

#

{
"error": {
"code": "parameter_unknown",
"doc_url": "https://stripe.com/docs/error-codes/parameter-unknown",
"message": "Received unknown parameter: prefetch",
"param": "prefetch",
"request_log_url": "https://dashboard.stripe.com/test/logs/req_r7OxJoB6XYXWSD?t=1685621425",
"type": "invalid_request_error"
}
}

Learn more about error codes and how to resolve them.

#

Cant we use "Prefetch" param to prefetch the balances

marsh dagger
#

Hi! I'm taking over from my colleague. Please, give me a moment to catch up.

#

Where have you seen this option?

flat frigate
#

while creating financial connection session

#

can we have this param while creating a financial connection session?

marsh dagger
#

Sorry for delay, let me check

flat frigate
#

okay

warm finch
#

Not sure where you've seen prefetch referenced?

#

Ah, wait. I see it

flat frigate
#

Okay so they need to activate it for our account?

warm finch
#

Correct your account needs to be granted access

flat frigate
#

okay let me check with them. But it can be used right. i mean it is available as a pram to pass correct

manic swallow
#

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

flat frigate
#

okay i was asking param prefetch can be used while creating a financial session correct once we get the access

manic swallow
#

Yep was just catching up on the convo

#

That's correct