You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[ X] I have read the [Contributing Guidelines][contributing] for this project.
[ X] I agree to follow the [Code of Conduct][code_of_conduct] that this project
adheres to.
[X ] I have searched the issue tracker for an issue that matches the one I want
to file, without success.
When I tried to commit to GitHub through the private account (Free account) using Rest API approximately 6MB with 1000 files , I facing a problem in creating commit tree, my payload size exceeds approximately 2.5Mb ( around 200-250 files). I got the 502 Bad Gate way, some times I got the 422 unprocessed entity with time out - payload is large exception (not always). https://api.github.com/repos/{owner}/{repo}/git/trees this is the restApi which gave me the exception. Then I tried to group my files in to small chunks with less than 2.5MB and tried to commit in a linear fashion for creating commit tree, I was able to commit all. The same thing when I tried with the enterprise edition(trial) I was able to commit the 1000 files in single short without any code change or any chunking.
It took weeks for me to analyze the issue, Why no proper exception message or documentation was there? could you please address this and let us know why this difference. Earlier in the staring of year 2024 I was able to commit files with this size above 6MB using free version.
🐛 bug report
Preflight Checklist
adheres to.
to file, without success.
When I tried to commit to GitHub through the private account (Free account) using Rest API approximately 6MB with 1000 files , I facing a problem in creating commit tree, my payload size exceeds approximately 2.5Mb ( around 200-250 files). I got the 502 Bad Gate way, some times I got the 422 unprocessed entity with time out - payload is large exception (not always). https://api.github.com/repos/{owner}/{repo}/git/trees this is the restApi which gave me the exception. Then I tried to group my files in to small chunks with less than 2.5MB and tried to commit in a linear fashion for creating commit tree, I was able to commit all. The same thing when I tried with the enterprise edition(trial) I was able to commit the 1000 files in single short without any code change or any chunking.
It took weeks for me to analyze the issue, Why no proper exception message or documentation was there? could you please address this and let us know why this difference. Earlier in the staring of year 2024 I was able to commit files with this size above 6MB using free version.
(https://api.github.com/repos/BabithaSujanna/babi/git/trees)
this is my reptApi detail which caused the issue
My payload is a json file and not normal text file
The text was updated successfully, but these errors were encountered: