pcorliss / ruby_route_53

Ruby gem and command line tool for Amazon's Route 53 service.
blog.50projects.com
GNU General Public License v3.0
172 stars 32 forks source link

"The AWS Access Key Id needs a subscription for the service" error #1

Closed drnic closed 13 years ago

drnic commented 13 years ago

I think this error will be common for users - perhaps capture it and display the english error?

$ route53 
...
An Error has occured

SenderOptInRequiredThe AWS Access Key Id needs a subscription for the service7ed72d75-03e5-11e0-9bde-d11c7fd928aa
/Library/Ruby/Gems/1.8/gems/route53-0.1.3/lib/route53/cli.rb:209:in `process_arguments': undefined method `each' for nil:NilClass (NoMethodError)
    from /Library/Ruby/Gems/1.8/gems/route53-0.1.3/lib/route53/cli.rb:30:in `run'
    from /Library/Ruby/Gems/1.8/gems/route53-0.1.3/bin/route53:11
    from /usr/bin/route53:19:in `load'
    from /usr/bin/route53:19
pcorliss commented 13 years ago

Thanks for the bug report. I've added in some helper text to explain to users what was going on for some of the more common errors. The latest version is 0.1.4 and is up on both github and rubygems.

-Phil