On Nov 19, 4:27 am, RailinAndWailin <[email protected]> wrote: > Amazon::AWS::HTTPError: HTTP response code 400 > from /var/lib/gems/1.8/gems/ruby-aaws-0.7.0/lib/amazon/aws.rb:170:in > `get_page' > from /var/lib/gems/1.8/gems/ruby-aaws-0.7.0/lib/amazon/aws/search.rb: > 305:in `search' > from (irb):6 > > So, I don't get it and I've been at it over a day...would like to > finish this book (Ruby on Rails Bible) and know what happened here... > The thing I see is that @config={} is nil, making me think that /lib/ > amazon/aws.rb:170:in `get_page' wasn't passed the secret_key_id... > help!! :) ty
Not *remotely* a ruby-aaws expert, but I'd recommend that you either install ruby-debug and drop a 'debugger' line at line 168 of aws.rb or at least try some puts statements. The response body of the request may contain more info to help explain the 400 error code. --Matt Jones -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=.

