danswer-ai / danswer

Gen-AI Chat for Teams - Think ChatGPT if it had access to your team's unique knowledge.
https://danswer.ai
Other
10.67k stars 1.34k forks source link

Google Drive Connector: Only files with binary content can be downloaded. Use Export with Docs Editors files. #1664

Open sacovo opened 5 months ago

sacovo commented 5 months ago

When indexing a google folder that contains a presentation that is not a ppts but a google presentation we encounter the following error:

Only files with binary content can be downloaded. Use Export with Docs Editors files.

This happens in

#danswer/connectors/google_drive/connector.py line 337
    elif mime_type == GDriveMimeType.PPT.value:
        response = service.files().get_media(fileId=file["id"]).execute()

Instead of get_media the same approach as for SPREADSHEET should be used.

github-actions[bot] commented 1 day ago

This issue is stale because it has been open 75 days with no activity. Remove stale label or comment or this will be closed in 15 days.