#DavidR-api-key
1 messages ยท Page 1 of 1 (latest)
Hi ๐ I'm not aware of anything ongoing that would trigger this error, can you provide more context on what is being done when that error is encountered?
Hey @rich marlin , thanks for the prompt reply! Here's what I got so far: this happens when we load the js.stripe.com/v3 SDK and then make the call to create a paymentRequest object.
Do you happen to have a request ID of a failed request that we could look at?
Let me check that.
๐ stepping in for toby as they need to step away.
That error should be thrown due to having old keys.
So the first thing is to double check that you don't have legacy keys still on your account
If you do, you'll need to roll them to get new keys in order to use PRB
Hey @elfin nimbus ! Ok, so the key used starts with pk_test_ Is there a chance that this key expired? The thing is, the test is passing now, so the key is accepted, but I'm wondering why this fails intermittently. It has failed before and it will probably fail again sometime.
Huh, no pk_test is correct
BTW, this is the "public_key" we're talking about. There's also the "api_key"
Right this is a client-side error
Yep.
Based on the publishable key
So the secret key shouldn't matter here
Weird that this is intermittent
Is this a Connect integration?
yes it is
Is it intermittent with different accounts?
Like is the behavior specific to any account do you know?
and this is an end to end test
It shouldn't really matter as you should be initializing everything from your platform....
So that error really doesn't make sense to me
Thinking....
So as far as you can tell this is totally intermittent
Was today the first time it happened?
Let me double-check that with the rest of the devs. One moment please
I've just found that this key is from 2016
do you think refreshing this key will make a difference?
Looks like everyone from my team left and I don't have a concrete answer for this. I wouldn't want to hold you, so I can come back tomorrow with more information on this. I can probably get the request id for this if it's possible so you can look into it into more detail.
Let me know if I can do anything else on my end that would help you.
Yep we'll be here if you want to come back with more info
I would recommend rolling the key, yes.
The old key does seem suspect
Though very weird if it is intermittent
Ok, thank you for looking into this! All the best, will come back with more info