#squirez-cli
1 messages · Page 1 of 1 (latest)
@prime shell hello, answering here in thread
try doing stripe login in your terminal windwo
what command are you running and what error are you getting, can you share more details
sure once sec
here the command
stripe listen --forward-to http://127.0.0.1:8000/payments/webhook/
here is the error
[Mon, 25 Oct 2021 17:40:57 BST] FATAL Error while authenticating with Stripe: Authorization failed, status=401, body={
"error": {
"code": "api_key_expired",
"doc_url": "https://stripe.com/docs/error-codes/api-key-expired",
"message": "Expired API Key provided: rk_test_*********************************************************************************************NveiJP",
"type": "invalid_request_error"
}
}
that happens immediately? or when a webhook event is sent?
immediately when you run that command?
immediatley
is it a case of my CLI KEY has expired and i need to reset up stripe CLI with a new key
?
that is what it sounds like yes
ok
but im still a bit confused
so current
when i look at the CLI Key
it says
"Expires in 90 days"
my question is
is this for my current CLI Key which is cause the error
or
would this be for the new CLI Key which i need to use
?
It working now
Thank you
oh great! what fixed it?