3scale/3scale_ws_api_for_ruby — Issue #1: Problem when trying to authorize an application without app_key
Author: sarcilav
Created: 2012-01-25 06:31:01+00:00
State: open

I'm having the following error when I try to authorize an application without app_key
```
NoMethodError: undefined method 'content' for nil:NilClass
from .../ruby-1.9.2-p180/gems/activesupport-3.1.3/lib/active_support/whiny_nil.rb:48:in 'method_missing'
from .../ruby-1.9.2-p180/gems/3scale_client-2.2.4/lib/3scale/client.rb:217:in 'build_error_response'
from .../ruby-1.9.2-p180/gems/3scale_client-2.2.4/lib/3scale/client.rb:154:in 'authorize'
from .../ruby-1.9.2-p180/gems/railties-3.1.3/lib/rails/commands/console.rb:45:in 'start'
from .../ruby-1.9.2-p180/gems/railties-3.1.3/lib/rails/commands/console.rb:8:in 'start'
from ...//ruby-1.9.2-p180/gems/railties-3.1.3/lib/rails/commands.rb:40:in ''
```
but when I add the app_key it just works.
Can someone explain me this problem?