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
{{ message }}
Repository navigation
Getting an error in filtering by path when listing commits #3100
Description of the problem, including code/CLI snippet
I want to get a commit list according to a specific folder in a branch, but I can't do this with the python module and I get an error.
This is provided by rest api but python module gets error with same parameters.
I run these commands respectively.
gitlab.exceptions.GitlabHttpError: 404: 404 API Version Not Found
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "c:\Users\y79988\AppData\Local\pypoetry\Cache\virtualenvs\project-mLexHskk-py3.10\lib\site-packages\gitlab\exceptions.py", line 346, in wrapped_f
raise error(e.error_message, e.response_code, e.response_body) from e
gitlab.exceptions.GitlabListError: **404: 404 API Version Not Found**
Activity
JohnVillalovos commentedon Jan 24, 2025
gitlab_project = gitlab_api.projects.get(id=args.gitlab_project_id, all=True)Why
all=True?Also which one of the three lines of your example has the error?