#monsherry-cli

1 messages · Page 1 of 1 (latest)

vital cradle
#

hi! can you elaborate on what it means when you say your "webhook listeners cant authenticate"?

drifting acorn
#

one sec

#
uthorization 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_*********************************************************************************************rDaJtL",
    "type": "invalid_request_error"
  }
}
#

thats the error i am getting

#

when i do stripe status

#

i get

vital cradle
#

I think just running stripe login again will fix it.

drifting acorn
#
⢿ Checking for new versions... A newer version of the Stripe CLI is available, please update to: v1.7.8
✔ All services are online.
As of: December 01, 2021 @ 09:16AM +00:00

#

I have done stripe login

vital cradle
#

and make sure you're using the latest version of stripe-cli too

drifting acorn
#

like 5 times now

#

I cant keep updating stripe-cli version

vital cradle
#

cool, then update to the latest version! we made some changes in this area recently

drifting acorn
#

i updated last week

#

...

#

ok lets see

vital cradle
#

I don't have anything else to suggest to you

#

if you continue seeing issues you can open a Github issue

drifting acorn
#

I am on latest version

#

⢿ Checking for new versions... A newer version of the Stripe CLI is available, please update to: v1.7.8
✔ All services are online.
As of: December 01, 2021 @ 09:16AM +00:00

#

shows 1.7.8

vital cradle
#

the message says you are on something less than 1.7.8 and you should update to that version. ; stripe --version to see which version you are currently on

drifting acorn
#

Updated to last version

#

i was on 1.7.4

#
ubuntu@ubuntu:$ stripe status
⢿ Checking for new versions... ✔ All services are online.
As of: December 01, 2021 @ 09:20AM +00:00
ubuntu@ubuntu:$ stripe listen --forward-to localhost:3000/api/v1/stripe-hooks/payments
⡿ Getting ready... [Wed, 01 Dec 2021 01:24:36 PST] 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_********************************************************************************************
*rDaJtL",
    "type": "invalid_request_error"
  }
}

#

How do i check if i am logged in corrctly ?

vital cradle
#

I think you just run stripe login again, I don't think you can check the status or anything like that.

drifting acorn
#

well i do the login

#

then i have to manually go to the browser and enter the address

#

approve it

#

the have to quick the login commend

#

Not sure were to go from here..

vital cradle
#

not sure I follow what you mean

drifting acorn
#

When you login from terimnal

#

i do stripe login, that gives me an address

#

i visit that address and allow access

#

the terminal does not change status

#

Ah !!

#

so i manually edited .config/stripe