You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This error started on March 5th, out of NOWHERE as there has not been any changes to my code. I have been getting the following error for the past week and I have tried so many ways and variations to fix this. Here is the error that I am receiving;
From the looks of your code, it does not seem you are using PyGithub at all, but access the Github API directly. Please refer to Github support for that.
I'd reckon there is an issue with the token provided. Either it expired, or has lost necessary rights.
This error started on March 5th, out of NOWHERE as there has not been any changes to my code. I have been getting the following error for the past week and I have tried so many ways and variations to fix this. Here is the error that I am receiving;
github.GithubException.UnknownObjectException: 404 {"message": "Not Found", "documentation_url": "https://docs.github.com/rest/actions/self-hosted-runners#list-self-hosted-runners-for-a-repository"}
Below, is the command to register the token for our job;
def get_runner_token(repo, token):
url = 'https://api.github.com/repos/{repo}/actions/runners/registration-token'.format(repo=repo)
headers = { "Accept": "application/json", "Authorization": "token {token}".format(token=token) }
status, data = ex.post(url, headers=headers)
return status, json.loads(data.decode("utf-8"))
My API PATH, from my configuration script is the following;
"repos/{repo}/actions/runners/registration-token"
The text was updated successfully, but these errors were encountered: