-
-
Notifications
You must be signed in to change notification settings - Fork 45
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
Cannot export file with mimetype PDF #83
Comments
Hey, yes, you need to specify the
|
Hey Omar: Thank you so much! This perfectly solves my problem, though I will protest that the error message is a bit cryptic. Thanks for your excellent work on this package! :) |
Thank you @montessoriforall! :) We currently only have examples e.g.: https://aiogoogle.readthedocs.io/en/latest/#download-a-file-from-google-drive. Documenting the file upload & download feature outside of the examples section might be the correct thing to do. |
Hey @omarryhan, how are you? I just tried to do it but Im keeping short :(
I tested the sync way and it worked perfectly, but I would like to do the same async. Thanks :) |
Hey @peyafaguerre Have you tried using the pipe_to parameter? You can find some usage examples here #98 |
Thanks @omarryhan! |
Hello! Here is a simple GDoc. The following code should allow one to export said GDoc from GDrive:
However, the lower code -- attempting to export a GDoc as a PDF file -- raises an error:
ContentTypeError: 0, message='Attempt to decode JSON with unexpected mimetype: application/pdf'
Here's the full error:
Is there another way to export files from aiogoogle as PDF that I am unaware from?
The text was updated successfully, but these errors were encountered: