github-pr-resource icon indicating copy to clipboard operation
github-pr-resource copied to clipboard

Body is too long (maximum is 65536 characters)

Open ktreptow opened this issue 4 years ago • 3 comments

Hi everyone! I'm currently experiencing the following problem while trying to comment on a pr.

put failed: failed to post comment: POST https://.../1731/comments: 422 Validation Failed [{Resource:IssueComment Field:data Code:unprocessable Message:Body is too long (maximum is 65536 characters)}]

Is there any way to either shorten the message or increase the maximum character number? Thanks!

ktreptow avatar May 25 '21 12:05 ktreptow

The errors are from the GitHub API itself, not sure if it's really viable to truncate it for people, do you expect this resource to slice it up into chunks of comments?

rickardl avatar Aug 11 '21 21:08 rickardl

Perhaps the resource could upload a snippet and post a comment with the link, e.g. https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/attaching-files

v-yarotsky avatar Jun 28 '22 20:06 v-yarotsky