GitLab token should refresh to avoid Google Colab error on timeout
Gitlab Token refresh is not refreshed after expiring (see attachment). Error from plugin factory:
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/pymemri/plugin/pluginbase.py", line 333, in run_plugin
plugin_run_id, client, **plugin_config
File "/usr/local/lib/python3.7/site-packages/pymemri/plugin/pluginbase.py", line 195, in run_plugin_from_run_id
plugin._run()
File "/usr/local/lib/python3.7/site-packages/pymemri/plugin/pluginbase.py", line 89, in _run
self.run()
File "/usr/plugin_factory/plugin_factory/plugin.py", line 32, in run
user = api.get_current_username()
File "/usr/local/lib/python3.7/site-packages/pymemri/gitlab_api.py", line 168, in get_current_username
raise ValueError(f"Could not find current user {res.content}")
ValueError: Could not find current user b'{"error":"invalid_token","error_description":"Token is expired. You can either do re-authorization or token refresh."}'
┆Issue is synchronized with this Clickup by Unito
┆Ticket type: