Skip to content

working_groups/calibration fails to sync

There is a weird 403 issue when syncing working_groups/calibration:

+new issue 6 with 17 notes (working_groups/calibration)
+new issue 5 with 16 notes (working_groups/calibration)
+new issue 55 with 6 notes (working_groups/calibration)
+new issue 3 with 2 notes (working_groups/calibration)
+new issue 2 with 65 notes (working_groups/calibration)
+new issue 1 with 17 notes (working_groups/calibration)
+new issue 4 with 22 notes (working_groups/calibration)
Traceback (most recent call last):
  File "/Users/tamasgal/Dev/gltrove/./gltrove.py", line 336, in <module>
    main()
    ~~~~^^
  File "/Users/tamasgal/Dev/gltrove/./gltrove.py", line 292, in main
    sync()
    ~~~~^^
  File "/Users/tamasgal/Dev/gltrove/./gltrove.py", line 259, in sync
    dump_group_comments(group)
    ~~~~~~~~~~~~~~~~~~~^^^^^^^
  File "/Users/tamasgal/Dev/gltrove/./gltrove.py", line 127, in dump_group_comments
    mrs = get_merge_requests(pid)
  File "/Users/tamasgal/Dev/gltrove/./gltrove.py", line 71, in get_merge_requests
    return list(api_get(f"/projects/{project_id}/merge_requests"))
  File "/Users/tamasgal/Dev/gltrove/./gltrove.py", line 36, in api_get
    with urllib.request.urlopen(req) as resp:
         ~~~~~~~~~~~~~~~~~~~~~~^^^^^
  File "/opt/homebrew/Cellar/python@3.13/3.13.5/Frameworks/Python.framework/Versions/3.13/lib/python3.13/urllib/request.py", line 189, in urlopen
    return opener.open(url, data, timeout)
           ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^
  File "/opt/homebrew/Cellar/python@3.13/3.13.5/Frameworks/Python.framework/Versions/3.13/lib/python3.13/urllib/request.py", line 495, in open
    response = meth(req, response)
  File "/opt/homebrew/Cellar/python@3.13/3.13.5/Frameworks/Python.framework/Versions/3.13/lib/python3.13/urllib/request.py", line 604, in http_response
    response = self.parent.error(
        'http', request, response, code, msg, hdrs)
  File "/opt/homebrew/Cellar/python@3.13/3.13.5/Frameworks/Python.framework/Versions/3.13/lib/python3.13/urllib/request.py", line 533, in error
    return self._call_chain(*args)
           ~~~~~~~~~~~~~~~~^^^^^^^
  File "/opt/homebrew/Cellar/python@3.13/3.13.5/Frameworks/Python.framework/Versions/3.13/lib/python3.13/urllib/request.py", line 466, in _call_chain
    result = func(*args)
  File "/opt/homebrew/Cellar/python@3.13/3.13.5/Frameworks/Python.framework/Versions/3.13/lib/python3.13/urllib/request.py", line 613, in http_error_default
    raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 403: Forbidden