← terug naar queue

Run detail #1004

Type: xpipeline
Status: error
Started: 5 april 2026 13:10
Finished: 5 april 2026 13:10
Watcher: @NickSpisak_
Error: Traceback (most recent call last): File "/app/newsops/management/commands/run_x_pipeline.py", line 971, in _run_watcher user_id = _get_user_id(watcher.username) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/newsops/management/commands/run_x_pipeline.py", line 679, in _get_user_id data = _x_get(f"/users/by/username/{username}", params={ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/newsops/management/commands/run_x_pipeline.py", line 136, in _x_get r.raise_for_status() File "/usr/local/lib/python3.12/site-packages/requests/models.py", line 1026, in raise_for_status raise HTTPError(http_error_msg, response=self) requests.exceptions.HTTPError: 401 Client Error: Unauthorized for url: https://api.twitter.com/2/users/by/username/NickSpisak_?user.fields=id%2Cname%2Cdescription%2Cpublic_metrics

Pipeline log

[{'ok': True, 'ts': '2026-04-05T13:10:41.115577+00:00', 'stage': 'fetch', 'message': 'User ID ophalen voor @NickSpisak_...'}, {'ok': False, 'ts': '2026-04-05T13:10:41.308771+00:00', 'stage': 'error', 'message': '401 Client Error: Unauthorized for url: https://api.twitter.com/2/users/by/username/NickSpisak_?user.fields=id%2Cname%2Cdescription%2Cpublic_metrics'}]