Skip to content

invalid_request_error #1341

@A1891-clb

Description

@A1891-clb

The more information we have the easier it is for us to help. Feel free to remove any sections that might not apply

Issue

webhook and stripe cli

Expected Behavior

return webhook key

Steps to reproduce

stripe login
stripe listen --forward-to https://localhost:myport/api/payment/webhook -e payment_intent.succeeded

my SecretKey starting for sk not rk, and is not expired, and not ending in WUEguF

Traceback

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

Environment

Windows

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions