Metadata
Target
stazioneveneziasantalucia
Sync template
Instagram Graph - Incremental Metrics Refresh
Status
failed
Started
2026-08-31 08:45:36.006783
Finished
2026-08-31 08:45:40.351961
Error
Command exited with code 1
Log
[2026-08-31T08:45:36.006406] Starting job 377830 for connection stazioneveneziasantalucia (instagram) / sync template Instagram Graph - Incremental Metrics Refresh (type=dlt)
Resolved command: cd /srv/kpiper && python instagram_graph_pipeline.py
Injected profile context env vars (tokens exported: 1).
Pipeline env overrides applied: DOWNLOAD_ASSETS, ENABLE_ACCOUNT_OBJECTS, ENABLE_ASSETS, ENABLE_COMMENTS, ENABLE_CONTENT_PUBLISHING_LIMITS, ENABLE_MEDIA_CHILD_OBJECTS, ENABLE_MEDIA_INSIGHTS, ENABLE_MEDIA_OBJECTS, ENABLE_STORY_INSIGHTS, ENABLE_STORY_OBJECTS, ENABLE_USER_INSIGHTS, ENABLE_WEBHOOK_SUBSCRIBED_APPS, IG_PAGE_ID, IG_USER_ID, MEDIA_INSIGHTS_LOOKBACK_DAYS, MEDIA_PAGINATION, SOURCES__INSTAGRAM_GRAPH_REST_API_SOURCE__ACCESS_TOKEN, SYNC_MODE
Refreshed Meta Page Token at 2026-08-31T08:45:35.977474.
Forced unbuffered Python output for child process.
/usr/local/lib/python3.11/site-packages/dlt/pipeline/progress.py:27: UserWarning: psutil dependency is not installed and memory stats will not be available. Add psutil to your environment or pass dump_system_stats=False to disable this warning.
return log()
Traceback (most recent call last):
File "/srv/kpiper/instagram_graph_pipeline.py", line 587, in _request_json
with urlopen(request, timeout=timeout_seconds) as response: # noqa: S310
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/urllib/request.py", line 216, in urlopen
return opener.open(url, data, timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/urllib/request.py", line 525, in open
response = meth(req, response)
^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/urllib/request.py", line 634, in http_response
response = self.parent.error(
^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/urllib/request.py", line 563, in error
return self._call_chain(*args)
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/urllib/request.py", line 496, in _call_chain
result = func(*args)
^^^^^^^^^^^
File "/usr/local/lib/python3.11/urllib/request.py", line 643, in http_error_default
raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 400: Bad Request
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/srv/kpiper/instagram_graph_pipeline.py", line 2417, in <module>
load_info = pipeline.run(instagram_graph_rest_api_source())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/dlt/extract/decorators.py", line 201, in __call__
source = self._deco_f(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/dlt/extract/decorators.py", line 299, in _wrap
rv = conf_f(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/dlt/common/configuration/inject.py", line 281, in _wrap
return f(*bound_args.args, **bound_args.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/srv/kpiper/instagram_graph_pipeline.py", line 1889, in instagram_graph_rest_api_source
recent_media_for_insights = _collect_media_objects(
^^^^^^^^^^^^^^^^^^^^^^^
File "/srv/kpiper/instagram_graph_pipeline.py", line 1133, in _collect_media_objects
for item in items:
File "/srv/kpiper/instagram_graph_pipeline.py", line 681, in _iter_edge_with_field_fallback
yield from _iter_edge(client, path, request_params, paginate=paginate, max_items=max_items)
File "/srv/kpiper/instagram_graph_pipeline.py", line 648, in _iter_edge
response = _graph_get_url(client, next_url) if next_url else _graph_get_json(client, path, params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/srv/kpiper/instagram_graph_pipeline.py", line 620, in _graph_get_json
return _request_json(
^^^^^^^^^^^^^^
File "/srv/kpiper/instagram_graph_pipeline.py", line 601, in _request_json
raise RuntimeError(detail) from exc
RuntimeError: {"error":{"message":"Unsupported get request. Object with ID '17841400864545908' does not exist, cannot be loaded due to missing permissions, or does not support this operation. Please read the Graph API documentation at https:\/\/developers.facebook.com\/docs\/graph-api","type":"GraphMethodException","code":100,"error_subcode":33,"fbtrace_id":"AigwFGhbQSGWSgaTiFIL3Yd"}}
[2026-08-31T08:45:40.336193] Command failed with code 1.