This document presents possible causes and solutions for "RCP failed http 400 error" that occurs while pushing a project using heroku cli.
I didn't encounter this error and didn't change the default buffer size, I just gathered useful resources and shared the output of the sample running react-todo on heroku. Please be careful in troubleshooting and backup your project.
Below I list the most relevant resources on the subject.
- Everything you need to know to resolve the Git Push RPC error: