Metadata
Target
cucine_lube_france
Sync template
Instagram Graph - Incremental Metrics Refresh
Status
failed
Started
2026-05-12 14:15:33.870872
Finished
2026-05-12 14:15:37.795780
Error
Command exited with code 1
Log
[2026-05-12T14:15:33.870520] Starting job 156085 for connection cucine_lube_france (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
Meta page token refresh skipped: Meta API error: (#10) This endpoint requires the 'pages_read_engagement' permission or the 'Page Public Content Access' feature or the 'Page Public Metadata Access' feature. Refer to https://developers.facebook.com/docs/apps/review/login-permissions#manage-pages, https://developers.facebook.com/docs/apps/review/feature#reference-PAGES_ACCESS and https://developers.facebook.com/docs/apps/review/feature#page-public-metadata-access for details.
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 2360, 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 1877, in instagram_graph_rest_api_source
recent_media_for_insights = _collect_media_objects(
^^^^^^^^^^^^^^^^^^^^^^^
File "/srv/kpiper/instagram_graph_pipeline.py", line 1125, 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":"The user must be an administrator, editor, or moderator of the page in order to impersonate it. If the page business requires Two Factor Authentication, the user also needs to enable Two Factor Authentication.","type":"OAuthException","code":190,"error_subcode":492,"fbtrace_id":"AFExcXyg10yLHQDvmo8e5L4"}}
[2026-05-12T14:15:37.780279] Command failed with code 1.