-
Notifications
You must be signed in to change notification settings - Fork 348
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: Request failed with status code 400 #8
Comments
hey @wudi i dont think its the country, you would get smth like 401 or 403. there is an option: try commiting different smaller file, if it helps — let me know, i'll check on the that and make error messages more descriptive if possible <3 |
I have the same problem! |
does commiting smaller file work? |
Just tested with a small file like "readme" and it is working |
@homerokzam @wudi does smaller files work for you guys? |
ok, looks like sending large files in batches to openAI breaks somewhere. Anyone wants to investigate and make a PR? :) |
I just received this error today with a minor change to one file. I was also able to commit no problem with several larger files earlier today with no error. |
I have the same error with changed in files which are ~2k |
Not a resolution, but it is definitely related to the number of commits. I restored different staged files and tried again and it worked. However, it is a shame that this limitation exists. Also, it seems to happen 100% of the time when you try to initiate a commit when you have deleted a file/directory from your repo. |
I can confirm that this |
Getting the same error with a simple 1 line change to a README. I used curl on the api to make sure my token worked and there wasn't any network issues. It would be nice if there was a -verbose or -debug flag to get more details on what the error is. |
I'm encountering the same error and I can verify that it's due to a maximum token limit. In my opinion, the error message could be more informative in this scenario. If you're facing this issue, a possible solution is to remove files with large differences or newly added large files. |
What do you think about this? The algorithm:
This could nicely overcome the problem. |
Stale issue message |
It may be that the country I am in is not supported.
I can't find where to set it the proxy.
The text was updated successfully, but these errors were encountered: