#squirez-cli

1 messages · Page 1 of 1 (latest)

frank river
#

@prime shell hello, answering here in thread

try doing stripe login in your terminal windwo

prime shell
#

Hi

#

i've done that

#

and i've repaired

#

using the pairing code

frank river
#

what command are you running and what error are you getting, can you share more details

prime shell
#

sure once sec

#

here the command

#

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"
}
}

frank river
#

that happens immediately? or when a webhook event is sent?

#

immediately when you run that command?

prime shell
#

immediatley

#

is it a case of my CLI KEY has expired and i need to reset up stripe CLI with a new key

#

?

frank river
#

that is what it sounds like yes

prime shell
#

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

frank river
#

oh great! what fixed it?

prime shell
#

i had to re login properly from the console

#

i was coping the URL that was provided

#

instead of hitting enter in the terminal

#

i also deleted the old key