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
Failed IBodyProducer coercion produces opaque TypeError on text mode files #286
Labels
Comments
om26er
changed the title
File Upload is Broken [treq.post()]
File Upload is Broken -- treq.post()
Jul 31, 2020
@om26er Have you tried opening the file in binary mode? |
It worked, yay! |
The error message could definitely be better here. |
twm
changed the title
File Upload is Broken -- treq.post()
Failed IBodyProducer coercion produces opaque TypeError on text mode files
Sep 30, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It seems the API to upload files is broken. Below is the code that I am using to upload a file to Infura's IPFS gateway
On running the code, this is what I see
The library chickens out even before sending data on the wire.
The text was updated successfully, but these errors were encountered: