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

Error: invalid json response body at ...... Unexpected end of JSON input #812

Open
guowo opened this issue Nov 7, 2022 · 8 comments
Open

Comments

@guowo
Copy link

guowo commented Nov 7, 2022

The issue was:

In our CI workflow, sometimes we will run into the following error:
Error: invalid json response body at https://api.github.com/repos/chewielabs/Oscar/issues/1474/comments reason: Unexpected end of JSON input

Below are the details of the error:

Run marocchino/sticky-pull-request-comment@v2
with:
message:

Image Size Checker - Test

✅ ✅ ✅ ✅ ✅ ✅ ✅ ✅

For A image_size_without_this_pr = 244796 image_size_with_this_pr = 244836 Delta = 40

For B image_size_without_this_pr = 244796 image_size_with_this_pr = 244836 Delta = 40

For current commit, delta between ImageA and ImageB is 0
For previous commit, delta between ImageA and ImageB is 0
Above results are comparing current commit

3983c80a939cac62ec07852bfda455b67af2ac75

vs. Previous commit

28cd7df651fecfdbf43b127f6a2a5446b6b57606


append: false
recreate: false
delete: false
hide_details: false
hide: false
hide_and_recreate: false
hide_classify: OUTDATED
ignore_empty: true
follow_symbolic_links: false
GITHUB_TOKEN: ***
env:
BUILD_RUN_NUMBER: 229
CONFIG_PATH: ./images/size_checker/
CONFIG_FILE: size_checker.conf
COMMIT_LINK: https://github.com/chewielabs/Oscar/commit/
sDiff_A: 40
sDiff_B: 40
sDiff_prev_A_B: 0
sDiff_cur_A_B: 0
emojiState:

✅ ✅ ✅ ✅ ✅ ✅ ✅ ✅


RESULT: ./images/size_checker/passed_result.xml
Error: invalid json response body at https://api.github.com/repos/chewielabs/Oscar/issues/1474/comments reason: Unexpected end of JSON input

image-20221107-060451

@georgej-github
Copy link

Running into the same issue

@marocchino
Copy link
Owner

We are using @action/github internally.
So It looks like same issue with actions/github-script#256
I'm sorry this isn't the answer you were looking for, but if it's an internal issue, I think we'll have to wait for it to be fixed.

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
@marocchino @georgej-github @guowo and others