#ED
1 messages · Page 1 of 1 (latest)
Hi there! Let's chat in this thread
We are having problems with setupintent saying no such and our api and key match
Could you share your Stripe account ID? This should look like "acct_..."
Thanks! I don't see any failed requests from this account. Did you receive a request ID alongside the "No such setupintent" error? The request ID should look like "req_..."
req_lmra3weI2bExDn
the setup intent is successful on stripe just not on our site
3:33
code: "resource_missing"
doc_url: "https://stripe.com/docs/error-codes/resource-missing"
message: "No such setupintent: 'seti_1M34oMIcZ5Y5kaPID1OGIWKh'"
param: "intent"
request_log_url: "https://dashboard.stripe.com/test/logs/req_pvIetFLBNEZe2v?t=1668202280"
type: "invalid_request_error"
3:34
request_log_url: "https://dashboard.stripe.com/test/logs/req_pvIetFLBNEZe2v?t=1668202280" I guess this is the req_...
got it, thanks! yes the request for the 404 error is req_pvIetFLBNEZe2v
So this setup intent was created in one account, and the request to confirm the setup intent was made using a different account's publishable key
Let me know if that helps! You'll want to update the code that handles client side requests to use the correct key
There are two API keys in test mode: your secret key, used by your server code; and your publishable key, used by any client side code
These are visible in your Dashboard: https://dashboard.stripe.com/test/apikeys
I recommend reviewing you client side code and confirming the key you're using there matches the publishable key from your Dashboard