#odysseus1549
1 messages · Page 1 of 1 (latest)
Can you share your website, so that I can take a look?
hit the button Try FWD and open the collapse - it is there
hmmm, when i look at the response for that request,
"error": {
"message": "Invalid API Key provided: undefined",
"type": "invalid_request_error"
}
}```
it looks like the API key isn't being loaded/passed in your production env perhaps?
I logged it to be sure - it seems like it is
but curiously - I get the same thing switching to test keys on the build (it used to show test mode)
hrm, give me a while to ponder over this a bit more. I vaguely feel like it's a NextJS env variable issue, but I'm not super familiar with NextJS
It looks like the key was updated, but the latest error showed:
{
"error": "No such price: 'price_1OILqoKDgTHpPM11G9I5MNcb'; a similar object exists in live mode, but a test mode key was used to make this request."
}
price_1OILqoKDgTHpPM11G9I5MNcb was created in live mode, but you're trying to access it with test mode key