I am attempting to login to Amazon using the Ruby gem Mechanize. I always get kicked back to the sign in page without any sort of error message. I am wondering if this is a bug with Mechanize or if Amazon blocks this sort of access. I have code below that you can irb to test. @mechanizer = Mechanize.new @mechanizer.user_agent_alias = 'Mac Safari' @page = @mechanizer.get("https://www.amazon.com/ap/