#Suzz

1 messages · Page 1 of 1 (latest)

empty irisBOT
tall saddle
#

You have to initialize the Stripe SDK using a key. Find the line in your code that is throwing this error and update the key being used

round phoenix
#

but without the api, it worked today till the noon

#

i started using the webhook two months before

tall saddle
#

but without the api, it worked today till the noon

What does that mean?

round phoenix
#

i never created an api key before

#

i started using the stripe webhook from april 2023

tall saddle
#

Stripe creates API keys for you

round phoenix
#

the error is saying about some key starting with rk_

tall saddle
#

Are you using the STripe CLI?

round phoenix
#

but im not using any key starting with rk

#

yes

#

stripe cli+ webhook secret

tall saddle
#

The Stripe CLI automatically creates a restricted key when you run stripe login

#

You need to re-authenticate your Stripe CLI

round phoenix
#

the webhook secret starts with whsec

#

ok

tall saddle
#

That doesn't matter

round phoenix
#

understood