Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to download a binary file from an AWS S3 bucket using Amazon's new command-line interface. However, the tool responds with an error message.

$ aws s3 get-object --bucket myBucketName --key myFileName

<requests.packages.urllib3.response.HTTPResponse object at 0x1e61710> is not JSON serializable

Specifying text output format, gives the object's metadata, but again not the actual data.

$ aws --output text get-object --bucket myBucketName --key myFileName
<requests.packages.urllib3.response.HTTPResponse object at 0x298f710>   Fri, 05 Apr 2013 18:11:47 GMT   bytes   application/x-rpm       310000

The tests in the tool's source code distribution don't seem to exercise this functionality.

share|improve this question
Thanks for posting. It's a known bug - you obviously know it by now since you're the one that posted it :) anyway, if anyone needs an update check here: anyone know an alternative or workaround? – user170224 Apr 18 '13 at 20:00
You can obviously download the fixed version from – Diomidis Spinellis Apr 19 '13 at 20:24
It looks like the github bug was closed. Would you add an answer here and then accept it so this question doesn't hang around unanswered forever. – asciiphil Dec 20 '13 at 22:11
Done, thank you for the suggestion! – Diomidis Spinellis Dec 24 '13 at 9:42
up vote 2 down vote accepted

It turns out that the behaviour was due to a bug, which has since been fixed.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.