When trying to generate a commit message in Cursor IDE, an error appears:
Failed to generate commit message: [resource_exhausted] Error.
This prevents the IDE from generating commit messages automatically.
Steps to Reproduce
Open a project in Cursor IDE.
Make some changes to files.
Click on “Generate Commit Message” (AI commit message feature).
This prevents the IDE from generating commit messages automatically.
Expected Behavior
Cursor IDE should successfully generate an AI commit message without showing any error.
Screenshots / Screen Recordings
Operating System
MacOS
Current Cursor Version (Menu → About Cursor → Copy)
On occasion, the model providers we use for these features can occasionally run out of available capacity.
With most features, we usually fall back to an alternative provider of a model, but it looks like that may not have happened here correctly!
I’ve logged this for the team to look into, but this should have already resolved as capacity is likely available again!
Thanks!
It’s been three days now, and it still doesn’t work; it just won’t generate the commit message, even after updating Cursor to the latest version. What should I do?
@danperks@condor I’ve been using Cursor and at some point I created several pro trial accounts. After that, I started receiving the “So many pro trial accounts” message. Now, when I try to generate a commit message, I get the following error:
Failed to generate commit message: [resource_exhausted] Error
I suspect the error might be related to my usage of multiple pro trial accounts. Could you please advise me on what I should do so that this feature works again on my side?
I can not generate commit messages, every time I click the “Generate Commit Message” button, I get the error message “Failed to generate commit message: No contents found”. I tried reinstall git & cursor but still get this same message. I’m using Windows 10 LTSC system.
Steps to Reproduce
stash some files and click the “Generate Commit Message” button
Screenshots / Screen Recordings
Operating System
Windows 10/11
Current Cursor Version (Menu → About Cursor → Copy)
This Failed to generate commit message: [invalid_argument] Error error has been going on across a number of versions now whenever I click on the “Generate Commit Message” button. It never works anymore.
Steps to Reproduce
Stage some files to git
Under the “Source Control” tab, click “Generate Commit Message”
Expected Behavior
It should generate me a commit message based on all my changed files.
Operating System
MacOS
Current Cursor Version (Menu → About Cursor → Copy)