[chef] Re: 415 Unsupported Media Type


Chronological Thread 
  • From: Tom Duffield < >
  • To:
  • Subject: [chef] Re: 415 Unsupported Media Type
  • Date: Tue, 14 Jan 2014 09:44:37 -0600

Hi Seema, 
When submitting requests for help like this, it is helpful to others if you provide more information about the error you are receiving. Specifically,...

1. the entire error log in a Gist (gist.github.com) or some other online notepad (with any private or confidential information removed)
2. the context around when and where you received this error

I'm afraid that very few individuals would be able to offer more help than you would get from a simple Google Search without more information. 

Best of luck, 



On Tue, Jan 14, 2014 at 8:06 AM, < " target="_blank"> > wrote:
Hi,
getting below error:-

C:/Ruby200/lib/ruby/gems/2.0.0/gems/rest-client-1.6.7/lib/restclient/abstract_re
sponse.rb:48:in `return!': 415 Unsupported Media Type
(RestClient::UnsupportedMe
diaType)
        from
C:/Ruby200/lib/ruby/gems/2.0.0/gems/rest-client-1.6.7/lib/restclien
t/request.rb:230:in `process_result'
        from
C:/Ruby200/lib/ruby/gems/2.0.0/gems/rest-client-1.6.7/lib/restclien
t/request.rb:178:in `block in transmit'
        from C:/Ruby200/lib/ruby/2.0.0/net/http.rb:852:in `start'
        from
C:/Ruby200/lib/ruby/gems/2.0.0/gems/rest-client-1.6.7/lib/restclien
t/request.rb:172:in `transmit'
        from
C:/Ruby200/lib/ruby/gems/2.0.0/gems/rest-client-1.6.7/lib/restclien
t/request.rb:64:in `execute'
        from
C:/Ruby200/lib/ruby/gems/2.0.0/gems/rest-client-1.6.7/lib/restclien
t/request.rb:33:in `execute'
        from
C:/Ruby200/lib/ruby/gems/2.0.0/gems/rest-client-1.6.7/lib/restclien
t/resource.rb:67:in `post'
        from default.rb:37:in `<main>'

please help me

Regards,
Seema Khalkar.




Archive powered by MHonArc 2.6.16.

§