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

RuntimeError: Response did not return the expected status code from request #190

Open
nazarEnzo opened this issue Aug 16, 2023 · 3 comments
Labels
documentation Improvements or additions to documentation

Comments

@nazarEnzo
Copy link

RuntimeError: Response did not return the expected status code from request 'https://api.github.com/repos/myorg/myrepo/branches/main'.
Status code: 401 (expected: 200).
Response:
{'message': 'Bad credentials', 'documentation_url': 'https://docs.github.com/rest'}

@zhu-xiaowei
Copy link

Found the same error.

@CasperWA
Copy link
Owner

Could you provide a reference to a github actions run where this happened and the workflow file that triggered it?

@zhu-xiaowei
Copy link

@CasperWA I tested the same action between checked and unchecked the Do not allow bypassing the above settings, if checked the setting, the action will failed with above error, if unchecked this setting the action will works well.

@CasperWA CasperWA added the documentation Improvements or additions to documentation label Oct 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

3 participants