Skip to content

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

Open
@guowo

Description

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

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions