Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Google Drive API v3: .export_media() doesn't work for big sheets #2243

Open
anelyubin opened this issue Sep 20, 2023 · 0 comments
Open

Google Drive API v3: .export_media() doesn't work for big sheets #2243

anelyubin opened this issue Sep 20, 2023 · 0 comments
Labels
priority: p2 Moderately-important priority. Fix may not be included in next release. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns.

Comments

@anelyubin
Copy link

Hi Team

I couldn't fetch Google Sheet over export call.

Environment details

  • OS type and version: Ubuntu 20.04.6
  • Python version: 3.8.10
  • pip version: pip 23.2.1
  • google-api-python-client version: 2.98.0

Steps to reproduce

  1. Select big Google Sheet: more than 5MB and less then 10MB.
  2. Call drive.export_media(file_id, mimeType="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet") for this file. Result - timeout exception after 60 seconds waiting.
  3. Set request timeout to 300s (for example), call export_media() again. Result: HTTP 503 ("Transient failure") or HTTP 500 ("Internal Error"), after 90 seconds waiting.
@ohmayr ohmayr added type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns. priority: p2 Moderately-important priority. Fix may not be included in next release. labels Oct 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: p2 Moderately-important priority. Fix may not be included in next release. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Projects
None yet
Development

No branches or pull requests

2 participants