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

Invalid request when posting annotations #139

Open
ZedThree opened this issue Nov 7, 2024 · 0 comments
Open

Invalid request when posting annotations #139

ZedThree opened this issue Nov 7, 2024 · 0 comments

Comments

@ZedThree
Copy link
Owner

ZedThree commented Nov 7, 2024

Traceback (most recent call last):
  File "/usr/local/bin/review", line 8, in <module>
    sys.exit(main())
             ^^^^^^
  File "/usr/local/lib/python3.12/dist-packages/clang_tidy_review/review.py", line 174, in main
    post_annotations(pull_request, review)
  File "/usr/local/lib/python3.12/dist-packages/clang_tidy_review/__init__.py", line 1199, in post_annotations
    pull_request.post_annotations(body)
  File "/usr/local/lib/python3.12/dist-packages/clang_tidy_review/__init__.py", line 353, in post_annotations
    self.repo._requester.requestJsonAndCheck(
  File "/usr/local/lib/python3.12/dist-packages/github/Requester.py", line 550, in requestJsonAndCheck
    return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url)))
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/dist-packages/github/Requester.py", line 611, in __check
    raise self.createException(status, responseHeaders, data)
github.GithubException.GithubException: 422 {"message": "Invalid request.\n\nFor 'links/0/schema', nil is not an object.", "documentation_url": "https://docs.github.com/rest/checks/runs#create-a-check-run", "status": "422"}
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

1 participant