mergeability / mergeable

🤖 All the missing GitHub automation 🙂 🙌
https://mergeable.us
GNU Affero General Public License v3.0
677 stars 120 forks source link

Error stating I have exceeded 65535 characters when I am only entering 29150 characters. #749

Open leewilson86 opened 3 months ago

leewilson86 commented 3 months ago

I often get the following error flagged against my Pull Request description when I know I am not exceeding the character count.

HttpError: Invalid request.

Only 65535 characters are allowed; 525915 were supplied.

In the current instance of this error, my character count is only: 29150

I have noticed this happens when I want to paste a Terraform plan into the description. This is usually a simple copy/paste from the macOS Terminal app.

shine2lay commented 3 months ago

@leewilson86 look at octokit's lib, we use them to get info about github to have a better understanding of your issue. https://github.com/octokit/rest.js