List team projects (Teams - GitHub Docs) doesn’t work.
Return requests.exceptions.HTTPError: 404 Client Error: Not Found for url:
Url is correct
Hi, @alekspolskiy, welcome to the community
If it exists more often than not the solution for API based access 404s will be either
- the user does not have the needed permissions
- the personal access token permission scope is not correct
GitHub returns a 404 not found, rather than reveal any information about something you do not have permission on, even the fact that it may exist (this is GitHub following security good practise, but can be confusing)
You can edit the permissions scope of your token in the GUI
Let us know if this solves you problem
was a problem with scopes. Thx
1 Like