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.
@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
I often get the following error flagged against my Pull Request description when I know I am not exceeding the character count.
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.