- From: Seth Falcon <
>
- To:
- Subject: [chef] Re: 415 Unsupported Media Type
- Date: Tue, 14 Jan 2014 07:40:01 -0800
Hi,
writes:
>
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)
It's hard to help without a bit more information. From the error trace,
we don't know what URL you are trying to access, nor the shape of the
request you sent.
The HTTP status code is telling you that you've sent the server data in
a format it doesn't recognize or support. This could be because of the
data itself or because of a mismatch (or lack of) HTTP request header
describing the format being sent.
+ seth
--
Seth Falcon | Development Lead | CHEF |
http://www.getchef.com/ | @sfalcon
Archive powered by MHonArc 2.6.16.