Metadata
Target
Cucine LUBE France Officiel
Sync template
Facebook Graph - Comments Reconcile
Status
failed
Started
2026-05-12 18:55:02.125484
Finished
2026-05-12 18:55:06.692635
Error
Command exited with code 1
Log
[2026-05-12T18:55:02.125081] Starting job 156502 for connection Cucine LUBE France Officiel (facebook) / sync template Facebook Graph - Comments Reconcile (type=dlt)
Resolved command: cd /srv/kpiper && python facebook_graph_pipeline.py
Injected profile context env vars (tokens exported: 1).
Pipeline env overrides applied: COMMENTS_PAGE_LIMIT, COMMENTS_POST_LOOKBACK_DAYS, ENABLE_COMMENTS, ENABLE_COMMENT_REPLIES, ENABLE_PAGE_INSIGHTS, ENABLE_PAGE_OBJECTS, ENABLE_PAGE_POSTS, ENABLE_PAGE_POST_ATTACHMENTS, ENABLE_PAGE_POST_INSIGHTS, PAGE_ID, POSTS_BATCH_SIZE, POSTS_LIMIT, POSTS_PAGINATION, SOURCES__FACEBOOK_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/facebook_graph_pipeline.py", line 393, 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/facebook_graph_pipeline.py", line 1592, in <module>
load_info = pipeline.run(facebook_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/facebook_graph_pipeline.py", line 1379, in facebook_graph_rest_api_source
recent_posts_for_comments = _collect_page_posts(
^^^^^^^^^^^^^^^^^^^^
File "/srv/kpiper/facebook_graph_pipeline.py", line 1127, in _collect_page_posts
for item in items:
File "/srv/kpiper/facebook_graph_pipeline.py", line 487, in _iter_edge_with_field_fallback
yield from _iter_edge(client, path, request_params, paginate=paginate, max_items=max_items)
File "/srv/kpiper/facebook_graph_pipeline.py", line 454, in _iter_edge
response = _graph_get_url(client, next_url) if next_url else _graph_get_json(client, path, params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/srv/kpiper/facebook_graph_pipeline.py", line 426, in _graph_get_json
return _request_json(
^^^^^^^^^^^^^^
File "/srv/kpiper/facebook_graph_pipeline.py", line 407, 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":"Ao8g-pW3lBuIp59V1tWNWan"}}
[2026-05-12T18:55:06.675423] Command failed with code 1.