[2026-05-13T01:27:02.427897] Job 157022 queued by schedule:2026-05-13T01:27:00 Connection: PirelliMoto (facebook) Sync template: Facebook Graph - Comments Reconcile Queue class: foreground Procrastinate queue: kpiper Command: python facebook_graph_pipeline.py [2026-05-13T01:27:02.526210] Queued via Procrastinate as job 155873 (queue=kpiper, priority=50). [2026-05-13T04:56:11.516151] Starting job 157022 for connection PirelliMoto (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 Refreshed Meta Page Token at 2026-05-13T04:56:11.495610. 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() Retrying 208485089187632/feed with a smaller posts limit (10) after Graph reduce-data error: {"error":{"code":1,"message":"Please reduce the amount of data you're asking for, then retry your request"}} Retrying 208485089187632/feed with a smaller posts limit (5) after Graph reduce-data error: {"error":{"code":1,"message":"Please reduce the amount of data you're asking for, then retry your request"}} Retrying 208485089187632/feed with a smaller posts limit (1) after Graph reduce-data error: {"error":{"code":1,"message":"Please reduce the amount of data you're asking for, then retry your request"}} Retrying 208485089187632/feed by splitting the window 2026-04-13T00:00:00+0000..2026-05-13T23:59:59+0000 after Graph reduce-data error: {"error":{"code":1,"message":"Please reduce the amount of data you're asking for, then retry your request"}} Retrying 208485089187632/feed with a smaller posts limit (10) after Graph reduce-data error: {"error":{"code":1,"message":"Please reduce the amount of data you're asking for, then retry your request"}} Retrying 208485089187632/feed with a smaller posts limit (5) after Graph reduce-data error: {"error":{"code":1,"message":"Please reduce the amount of data you're asking for, then retry your request"}} Retrying 208485089187632/feed with a smaller posts limit (1) after Graph reduce-data error: {"error":{"code":1,"message":"Please reduce the amount of data you're asking for, then retry your request"}} Retrying 208485089187632/feed by splitting the window 2026-04-13T00:00:00+0000..2026-04-28T23:59:59+0000 after Graph reduce-data error: {"error":{"code":1,"message":"Please reduce the amount of data you're asking for, then retry your request"}} Retrying 208485089187632/feed with a smaller posts limit (10) after Graph reduce-data error: {"error":{"code":1,"message":"Please reduce the amount of data you're asking for, then retry your request"}} Retrying 208485089187632/feed with a smaller posts limit (5) after Graph reduce-data error: {"error":{"code":1,"message":"Please reduce the amount of data you're asking for, then retry your request"}} Retrying 208485089187632/feed with a smaller posts limit (1) after Graph reduce-data error: {"error":{"code":1,"message":"Please reduce the amount of data you're asking for, then retry your request"}} Retrying 208485089187632/feed by splitting the window 2026-04-13T00:00:00+0000..2026-04-20T23:59:59+0000 after Graph reduce-data error: {"error":{"code":1,"message":"Please reduce the amount of data you're asking for, then retry your request"}} Retrying 208485089187632/feed with a smaller posts limit (10) after Graph reduce-data error: {"error":{"code":1,"message":"Please reduce the amount of data you're asking for, then retry your request"}} Retrying 208485089187632/feed with a smaller posts limit (5) after Graph reduce-data error: {"error":{"code":1,"message":"Please reduce the amount of data you're asking for, then retry your request"}} Retrying 208485089187632/feed with a smaller posts limit (1) after Graph reduce-data error: {"error":{"code":1,"message":"Please reduce the amount of data you're asking for, then retry your request"}} Retrying 208485089187632/feed by splitting the window 2026-04-13T00:00:00+0000..2026-04-16T23:59:59+0000 after Graph reduce-data error: {"error":{"code":1,"message":"Please reduce the amount of data you're asking for, then retry your request"}} Retrying 208485089187632/feed with a smaller posts limit (10) after Graph reduce-data error: {"error":{"code":1,"message":"Please reduce the amount of data you're asking for, then retry your request"}} Retrying 208485089187632/feed with a smaller posts limit (5) after Graph reduce-data error: {"error":{"code":1,"message":"Please reduce the amount of data you're asking for, then retry your request"}} Retrying 208485089187632/feed with a smaller posts limit (1) after Graph reduce-data error: {"error":{"code":1,"message":"Please reduce the amount of data you're asking for, then retry your request"}} 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 500: Internal Server Error 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 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 1163, in _collect_page_posts first_posts = _collect_page_posts( ^^^^^^^^^^^^^^^^^^^^ File "/srv/kpiper/facebook_graph_pipeline.py", line 1163, in _collect_page_posts first_posts = _collect_page_posts( ^^^^^^^^^^^^^^^^^^^^ File "/srv/kpiper/facebook_graph_pipeline.py", line 1163, in _collect_page_posts first_posts = _collect_page_posts( ^^^^^^^^^^^^^^^^^^^^ File "/srv/kpiper/facebook_graph_pipeline.py", line 1176, in _collect_page_posts second_posts = _collect_page_posts( ^^^^^^^^^^^^^^^^^^^^ File "/srv/kpiper/facebook_graph_pipeline.py", line 1153, in _collect_page_posts raise last_error 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":{"code":1,"message":"Please reduce the amount of data you're asking for, then retry your request"}} [2026-05-13T05:16:56.523498] Command failed with code 1.