#benji_unexpected

1 messages ¡ Page 1 of 1 (latest)

grizzled waveBOT
#

👋 Welcome to your new thread!

⏲️ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

🔗 This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1269934950514294805

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

gloomy wedge
#

hi there!

violet sage
#

hey!

#

im getting this response from the CLI

time="Mon, 05 Aug 2024 10:16:59 CEST" level=fatal msg="Error while authenticating with Stripe: Authorization failed, status=403, body={
  "error": {
    "message": "The provided key 'rk_test_*********************************************************************************************1hjImM' does not have the required permissions for this endpoint on account 'acct_1IJVrJHGbPvMN2ro'. Having the 'rak_stripecli_session_write' permission would allow this request to continue.",
    "type": "invalid_request_error"
  }
}

i dont know which permission rak_stripecli_session_write is on the stripe.com website

gloomy wedge
#

so you want to create a new restricted key specifrically for the Stripe CLI?

violet sage
#

yes i want to use a key that is only / mostly only for reading webhook responses

#

key should not have unneccessary write permissions

gloomy wedge
#

got it. give me a few monutes to look into this.

violet sage
#

on stripe.com I have created a restricted key, and marked everything for "read" but it seems something needs write permission aswell

gloomy wedge
#

I'm guessing this one:

violet sage
#

i will try it

#

thanks! seems to work now.
ive tried to google "rak_stripecli_session_write" but there is like no info what it actually means