You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi! I got an error during the indexing phase of a Sharepoint connector, in particular in the function _convert_driveitem_to_document.
I'm running Danswer via docker, built from source from commit ba712d4.
Here's the full error trace:
Traceback (most recent call last):
File "/app/danswer/background/indexing/run_indexing.py", line 198, in _run_indexing
for doc_batch in connector_runner.run():
File "/app/danswer/connectors/connector_runner.py", line 48, in run
yield from self.doc_batch_generator
File "/app/danswer/connectors/sharepoint/connector.py", line 171, in _fetch_from_sharepoint
doc_batch.append(_convert_driveitem_to_document(driveitem))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/danswer/connectors/sharepoint/connector.py", line 43, in _convert_driveitem_to_document
file=io.BytesIO(driveitem.get_content().execute_query().value),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: a bytes-like object is required, not 'list'
The text was updated successfully, but these errors were encountered:
Hi! I got an error during the indexing phase of a Sharepoint connector, in particular in the function
_convert_driveitem_to_document
.I'm running Danswer via docker, built from source from commit ba712d4.
Here's the full error trace:
The text was updated successfully, but these errors were encountered: