Skip to content

Instantly share code, notes, and snippets.

@fred
Created February 27, 2014 12:09
Show Gist options
  • Save fred/9248908 to your computer and use it in GitHub Desktop.
Save fred/9248908 to your computer and use it in GitHub Desktop.
/Users/fred/.rvm/gems/ruby-2.0.0-p353/gems/rest-2.7.1/lib/rest/wrappers/base_wrapper.rb:21:in `rescue in post_file': HTTP 400 Error: In JSON, unexpected end of JSON input at position 0. (Rest::Wrappers::RestClientExceptionWrapper)
from /Users/fred/.rvm/gems/ruby-2.0.0-p353/gems/rest-2.7.1/lib/rest/wrappers/base_wrapper.rb:6:in `post_file'
from /Users/fred/.rvm/gems/ruby-2.0.0-p353/gems/rest-2.7.1/lib/rest/client.rb:219:in `block in post_file'
from /Users/fred/.rvm/gems/ruby-2.0.0-p353/gems/rest-2.7.1/lib/rest/client.rb:142:in `perform_op'
from /Users/fred/.rvm/gems/ruby-2.0.0-p353/gems/rest-2.7.1/lib/rest/client.rb:218:in `post_file'
from /Users/fred/.rvm/gems/ruby-2.0.0-p353/gems/iron_core-1.0.3/lib/iron_core/client.rb:258:in `post_file'
from /Users/fred/.rvm/gems/ruby-2.0.0-p353/gems/iron_worker_ng-1.2.0/lib/iron_worker_ng/api_client.rb:43:in `codes_create'
from /Users/fred/.rvm/gems/ruby-2.0.0-p353/gems/iron_worker_ng-1.2.0/lib/iron_worker_ng/client.rb:112:in `codes_create'
from /Users/fred/.rvm/gems/ruby-2.0.0-p353/gems/iron_worker_ng-1.2.0/lib/iron_worker_ng/client.rb:18:in `method_missing'
from /Users/fred/.rvm/gems/ruby-2.0.0-p353/gems/iron_worker_ng-1.2.0/lib/iron_worker_ng/cli.rb:102:in `upload'
from /Users/fred/.rvm/gems/ruby-2.0.0-p353/gems/iron_worker_ng-1.2.0/bin/iron_worker:116:in `<top (required)>'
from /Users/fred/.rvm/gems/ruby-2.0.0-p353/bin/iron_worker:23:in `load'
from /Users/fred/.rvm/gems/ruby-2.0.0-p353/bin/iron_worker:23:in `<main>'
from /Users/fred/.rvm/gems/ruby-2.0.0-p353/bin/ruby_executable_hooks:15:in `eval'
from /Users/fred/.rvm/gems/ruby-2.0.0-p353/bin/ruby_executable_hooks:15:in `<main>'
@mxstrand
Copy link

we saw the same thing today and reported to ironworker. they said it was on their side and are working on it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment