Describe the Bug
I am unable to use custom models because the openai toggle does not switch on when I toggle it. it says “are you sure you want to enable…”, I click “Enable…”, it thinks for a split second, and then nothing happens. Clicking the “verify” button also shows this meessage and then does nothing; not even an error message or anything.
the other api toggles work as expected.
Steps to Reproduce
just click the toggle or verify buttons under openai.
Expected Behavior
When I click the toggle, it should switch on/off states.
when I click verify, it should toggle on and then run a curl command to test api.
Operating System
MacOS
Current Cursor Version (Menu → About Cursor → Copy)
version: 1.1.6
commit: 5b19bac7a947f54e4caa3eb7e4c5fbf832389850
Does this stop you from using Cursor
Sometimes - I can sometimes use Cursor
Hey, yeah, we’ve noticed this bug before. Have you tried restarting Cursor? I guess this happens after you switch from one API key to another?
I tried resarting it just now, but the problem persists.
2 Likes
I have encountered a similar issue. To understand what the error is, you need to click Help → Developer Tools, and usually, the error will be visible in the console. Alternatively, you can check the Network tab. Typically, this is due to an incorrect key, an incorrect API host, or CORS not being configured properly.
I’m running into this issue as well. Steps I’ve taken:
- I’ve updated to the latest version of Cursor (Version: 1.1.6).
- I’m using the same API key that worked previously.
- I’ve hit the “Verify” button a few times and there’s no obvious error or confirmation. (A side request: Can we make the verify confirm in a more explicit way? It’s quite ambiguous when it finishes verifying.)
- I’ve restarted and the issue still persists
Attempting to enable the openAI key will trigger the Verify API key flow and then fail. The toggle state stays in disabled.