Getting unauthorized error from Stripe webhook (Other webhooks worked)

Hi- I replicated the same process as I set up the other Stripe webhook, but for this one, I’m getting an unauthorized error. Wondering if people have encountered this before:

{
“error_class”: “Unauthorized”,
“args”: {
“code”: “1747554211219x197698332032296700”
},
“message”: null,
“translation”: “You must authenticate to call this method”
}


I’ve set up my destination endpoint like this:

https://[appname].bubbleapps.io/version-test/api/1.1/wf/(active)_stripe_checkout_complete_direct?api_token=[token]

It worked in my other two webhook setups, but this one is encountering an unauthorized error.


Now a different error:

{
“statusCode”: 400,
“message”: “The service Stripe Connect - Retrieve Checkout Session Details just returned an error (HTTP 404). Please contact the plugin author directly for feedback. Raw error:\n\n{\n "error": {\n "code": "resource_missing",\n "doc_url": "https://stripe.com/docs/error-codes/resource-missing",\n "message": "No such checkout.session: cs_test_a1e4EyzjkhgQvEtov5qZIW0UXlrG5fO0J88BVgXLqQePrU5RVhsGT27KQY",\n "request_log_url": "Stripe Login | Sign in to the Stripe Dashboard "type": "invalid_request_error"\n }\n}\n”,
“args”: {
“bubble_code”: “1747557817820x681989746141910000”
}
}

Bubble has a nasty habit of caching calls and you never know. Maybe it has done it in this case? Add a random query param to the call a see if that works.

FYI: you can use
```json
{your json here}
```

to properly format JSON in the forum.

Ya- it solved itself after about an hour.