I am trying to get data about a few repositories through the following method:
gh = Github(TOKEN)
org = gh.get_organization('0xMonero')
If I run the above code on any other organization, I get a valid result. But running the above code with the 0xMonero
organization, I get the following error:
UnknownObjectException: 404 {"message": "Not Found", "documentation_url": "https://docs.github.com/rest"}
Going to the actual URL of the organization (https://github.com/0xMonero), I can see that it indeed is a valid public organization, so why is it throwing an error?
Or does the pygithub API only return results for the past 1 year? Because that then makes sense because the organization has not activity for the past 2 years.
Tried to get organization details through PyGithub, but it returned a 404 UnknownObjectException error. It works fine and as intended for other organizations.