API Keys - Verify button

Describe the Bug

I would like to add my own API key, but the Verify button doesn’t work.

Steps to Reproduce

After pressing the button, a popup appears for authorization. I will confirm it. Then a loading icon appears for less than a second, but disappears immediately. If I close and open the settings again, the key disappears.

Screenshots / Screen Recordings

Operating System

Windows 10/11

Current Cursor Version (Menu → About Cursor → Copy)

Version: 1.2.4 (user setup)
VSCode Version: 1.99.3
Commit: a8e95743c5268be73767c46944a71f4465d05c90
Date: 2025-07-10T17:09:01.383Z
Electron: 34.5.1
Chromium: 132.0.6834.210
Node.js: 20.19.0
V8: 13.2.152.41-electron.0
OS: Windows_NT x64 10.0.26100

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.

Hey, in addition to the above, could you let me know which API key provider you are trying to add?


Sorry for the delayed response, but I was away from my pc for the weekend.

To the point.

I’m posting the error screen from the dev tool in the picture. As you can see, I tried both Open AI and OpenRouter.

Now loading Open AI has a tendency to load more than 1s (slight change).

1 Like

This topic was automatically closed 22 days after the last reply. New replies are no longer allowed.