Hello, I just did a make clean install and run using Elasticsearch 8.16.1 and am running into issues syncing from Confluence Cloud.
this is what my local running make run returned:
[FMWK][20:34:58][INFO] [Connector id: Y7_GjZMBafUUoRu2nVr9, index name: connector-confluence-068d, Sync job id: qm82jpMBqZFPm85GdOfj] Executing full sync
[FMWK][20:34:58][INFO] [Connector id: Y7_GjZMBafUUoRu2nVr9, index name: connector-confluence-068d, Sync job id: qm82jpMBqZFPm85GdOfj] Filtering validation started
[FMWK][20:34:58][INFO] [Connector id: Y7_GjZMBafUUoRu2nVr9, index name: connector-confluence-068d, Sync job id: qm82jpMBqZFPm85GdOfj] Filtering validation result: FilteringValidationState.VALID
[FMWK][20:34:59][INFO] [Connector id: Y7_GjZMBafUUoRu2nVr9, index name: connector-confluence-068d, Sync job id: qm82jpMBqZFPm85GdOfj] Collecting local document ids
[FMWK][20:34:59][INFO] [Connector id: Y7_GjZMBafUUoRu2nVr9, index name: connector-confluence-068d, Sync job id: qm82jpMBqZFPm85GdOfj] Iterating on remote documents
[FMWK][20:34:59][INFO] [Connector id: Y7_GjZMBafUUoRu2nVr9, index name: connector-confluence-068d, Sync job id: qm82jpMBqZFPm85GdOfj] Successfully connected to Confluence
[FMWK][20:34:59][INFO] [Connector id: Y7_GjZMBafUUoRu2nVr9, index name: connector-confluence-068d, Sync job id: qm82jpMBqZFPm85GdOfj] Fetching spaces and its permissions from Confluence
[FMWK][20:35:23][INFO] [Connector id: Y7_GjZMBafUUoRu2nVr9, index name: connector-confluence-068d, Sync job id: qm82jpMBqZFPm85GdOfj] Sync progress -- created: 0 | updated: 0 | deleted: 0
[FMWK][20:35:23][INFO] [Connector id: Y7_GjZMBafUUoRu2nVr9, index name: connector-confluence-068d, Sync job id: qm82jpMBqZFPm85GdOfj] Fetching docs from space: ECOP
[FMWK][20:35:23][INFO] [Connector id: Y7_GjZMBafUUoRu2nVr9, index name: connector-confluence-068d, Sync job id: qm82jpMBqZFPm85GdOfj] Fetching blogpost and its permissions from Confluence
[FMWK][20:35:23][INFO] [Connector id: Y7_GjZMBafUUoRu2nVr9, index name: connector-confluence-068d, Sync job id: qm82jpMBqZFPm85GdOfj] Fetching page and its permissions from Confluence
[FMWK][20:35:26][ERROR] [Connector id: Y7_GjZMBafUUoRu2nVr9, index name: connector-confluence-068d, Sync job id: qm82jpMBqZFPm85GdOfj] Error while fetching pages and blogposts with query 'cql=space in ('ECOP') AND type=page&limit=50&expand=ancestors,children.attachment,history.lastUpdated,body.storage,space,space.permissions,restrictions.read.restrictions.user,restrictions.read.restrictions.group': 'publicName'
Traceback (most recent call last):
File "/Users/me/vscode_stuff/connectors/connectors/sources/confluence.py", line 1176, in _page_blog_coro
async for (
File "/Users/me/vscode_stuff/connectors/connectors/sources/confluence.py", line 918, in fetch_documents
"author": document["history"]["createdBy"][self.authorkey],
KeyError: 'publicName'
[FMWK][20:35:26][ERROR] Exception found for task Task-484
Traceback (most recent call last):
File "/Users/me/vscode_stuff/connectors/connectors/sources/confluence.py", line 1176, in _page_blog_coro
async for (
File "/Users/me/vscode_stuff/connectors/connectors/sources/confluence.py", line 918, in fetch_documents
"author": document["history"]["createdBy"][self.authorkey],
KeyError: 'publicName'
[FMWK][20:40:55][INFO] [Connector id: Y7_GjZMBafUUoRu2nVr9, index name: connector-confluence-068d, Sync job id: qm82jpMBqZFPm85GdOfj] Both Extractor and Sink tasks are successfully stopped.
[FMWK][20:40:57][INFO] [Connector id: Y7_GjZMBafUUoRu2nVr9, index name: connector-confluence-068d, Sync job id: qm82jpMBqZFPm85GdOfj] Sync ended with status completed -- created: 1 | updated: 0 | deleted: 1 (took 682 seconds)
[FMWK][20:40:57][INFO] [Connector id: Y7_GjZMBafUUoRu2nVr9, index name: connector-confluence-068d, Sync job id: qm82jpMBqZFPm85GdOfj] --- Counters ---
[FMWK][20:40:57][INFO] [Connector id: Y7_GjZMBafUUoRu2nVr9, index name: connector-confluence-068d, Sync job id: qm82jpMBqZFPm85GdOfj] 'bulk_item_responses._ids_changed_after_request' : 2
[FMWK][20:40:57][INFO] [Connector id: Y7_GjZMBafUUoRu2nVr9, index name: connector-confluence-068d, Sync job id: qm82jpMBqZFPm85GdOfj] 'bulk_item_responses.delete' : 1
[FMWK][20:40:57][INFO] [Connector id: Y7_GjZMBafUUoRu2nVr9, index name: connector-confluence-068d, Sync job id: qm82jpMBqZFPm85GdOfj] 'bulk_item_responses.index' : 1
[FMWK][20:40:57][INFO] [Connector id: Y7_GjZMBafUUoRu2nVr9, index name: connector-confluence-068d, Sync job id: qm82jpMBqZFPm85GdOfj] 'bulk_operations.delete' : 1
[FMWK][20:40:57][INFO] [Connector id: Y7_GjZMBafUUoRu2nVr9, index name: connector-confluence-068d, Sync job id: qm82jpMBqZFPm85GdOfj] 'bulk_operations.index' : 1
[FMWK][20:40:57][INFO] [Connector id: Y7_GjZMBafUUoRu2nVr9, index name: connector-confluence-068d, Sync job id: qm82jpMBqZFPm85GdOfj] 'deleted_document_count' : 1
[FMWK][20:40:57][INFO] [Connector id: Y7_GjZMBafUUoRu2nVr9, index name: connector-confluence-068d, Sync job id: qm82jpMBqZFPm85GdOfj] 'doc_creates_queued' : 1
[FMWK][20:40:57][INFO] [Connector id: Y7_GjZMBafUUoRu2nVr9, index name: connector-confluence-068d, Sync job id: qm82jpMBqZFPm85GdOfj] 'doc_deletes_queued' : 1
[FMWK][20:40:57][INFO] [Connector id: Y7_GjZMBafUUoRu2nVr9, index name: connector-confluence-068d, Sync job id: qm82jpMBqZFPm85GdOfj] 'docs_extracted' : 1
[FMWK][20:40:57][INFO] [Connector id: Y7_GjZMBafUUoRu2nVr9, index name: connector-confluence-068d, Sync job id: qm82jpMBqZFPm85GdOfj] 'indexed_document_count' : 1
[FMWK][20:40:57][INFO] [Connector id: Y7_GjZMBafUUoRu2nVr9, index name: connector-confluence-068d, Sync job id: qm82jpMBqZFPm85GdOfj] 'indexed_document_volume' : 0
[FMWK][20:40:57][INFO] [Connector id: Y7_GjZMBafUUoRu2nVr9, index name: connector-confluence-068d, Sync job id: qm82jpMBqZFPm85GdOfj] 'result_successes' : 2
[FMWK][20:40:57][INFO] [Connector id: Y7_GjZMBafUUoRu2nVr9, index name: connector-confluence-068d, Sync job id: qm82jpMBqZFPm85GdOfj] full counters dictionary: {'docs_extracted': 1, 'doc_creates_queued': 1, 'doc_deletes_queued': 1, 'bulk_operations.index': 1, 'bulk_operations.delete': 1, 'bulk_item_responses.index': 1, 'bulk_item_responses._ids_changed_after_request': 2, 'result_successes': 2, 'bulk_item_responses.delete': 1, 'indexed_document_count': 1, 'indexed_document_volume': 0, 'deleted_document_count': 1}
[FMWK][20:40:57][INFO] [Connector id: Y7_GjZMBafUUoRu2nVr9, index name: connector-confluence-068d, Sync job id: qm82jpMBqZFPm85GdOfj] ----------------
[FMWK][20:40:57][INFO] [Connector id: Y7_GjZMBafUUoRu2nVr9, index name: connector-confluence-068d, Sync job id: qm82jpMBqZFPm85GdOfj] Job terminated. Cleaning up.
[FMWK][20:40:58][INFO] [Connector id: Y7_GjZMBafUUoRu2nVr9, index name: connector-confluence-068d, Sync job id: qm82jpMBqZFPm85GdOfj] Both Extractor and Sink tasks are successfully stopped.
I see there is a KeyError. despite this, the job indexed one document for the space, with just the id, space key and name. None of the pages in the confluence space are indexed.
Any help is appreciated, thanks!