Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Body is too long (maximum is 65536 characters) #259

Open
ktreptow opened this issue May 25, 2021 · 3 comments
Open

Body is too long (maximum is 65536 characters) #259

ktreptow opened this issue May 25, 2021 · 3 comments

Comments

@ktreptow
Copy link

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!

@rickardl
Copy link
Contributor

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?

@v-yarotsky
Copy link
Contributor

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

@bgandon
Copy link

bgandon commented May 10, 2024

Unfortunately, there is no hope that you get any further support here (#246 was 2+y ago).

But recent news is that the Cloud Foundry community is now maintaining a fork of this resource at cloudfoundry-community/github-pr-resource.

On our Concourse installation at Gstack, that one is working fine. Could you give a try and provide feedback there?

(the new resource is a drop-in replacement; you only have to switch telia-ossto cfcommunity in in the resource_types: declaration, i.e. specify repository: cfcommunity/github-pr-resource)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants