Jackisidore wrote:
> I get "Unknown error: 411 Length Required" if I try to follow artists in
> the Web interface. From a Jive client it doesn't drop any errors, it
> simply refuses to do so.
This is the pertinent snippet from the log when trying it from the web
client:
Code:
--------------------
[18-05-13 14:22:36.5186] Plugins::Spotty::API::__ANON__ (1388) API call:
me/following?ids=0PFtn5NtBbbUNbU9EAmIWF&type=artist
[18-05-13 14:22:36.6677] Plugins::Spotty::API::__ANON__ (1457) error: 411
Length Required
[18-05-13 14:22:36.6688] Plugins::Spotty::API::__ANON__ (1468) bless({
_content => "",
_headers => bless({
"content-length" => 1564,
"content-type" => "text/html; charset=UTF-8",
date => "Sun, 13 May 2018 12:22:36 GMT",
"referrer-policy" => "no-referrer",
}, "HTTP::Headers"),
_msg => "Length Required",
_previous => [],
_rc => 411,
_request => bless({
_content => undef,
_headers => bless({
"accept" => "application/json",
"accept-encoding" => ["deflate, gzip", "gzip"],
"accept-language" => "en",
authorization => "Bearer
BQBLbfpJ3EP99FTo5xWFthlkU_ZtDHgYRb6u1fZORCUuHis_zdxEBQgO6-BRE02JzYoKt7UC7KeoHOOEyU9JaBWeKQGBAAuphKcZM9GqaSwq0nz9ZoyvjnDsJC5U-acAddyO-LS10avXmLB7Pp7tfP54V8iWcU97DkFVK2yRbCHcaXtbLhaOoDJ8SHxDmzfxeIokM8N7-VScx3WHRLZCQ-eu_iR6wNJJQnOo3668JXOeOvXo5dPSe4bw6w6_d2abmWzE5Q",
"cache-control" => "no-cache",
connection => "close",
host => "api.spotify.com",
"icy-metadata" => 1,
"user-agent" => "iTunes/4.7.1 (Linux; N; Red Hat; x86_64-linux; EN; utf8)
SqueezeCenter, Squeezebox Server, Logitech Media
Server/7.9.1/0.6.20170928git1508251793",
}, "HTTP::Headers"),
_method => "PUT",
_protocol => "HTTP/1.0",
_uri => bless(do{\(my $o =
"https://api.spotify.com/v1/me/following?ids=0PFtn5NtBbbUNbU9EAmIWF&type=artist")},
"URI::https"),
}, "HTTP::Request"),
}, "HTTP::Response")
--------------------
Main System: Touch; Marantz SR-5004 + TMA Premium 905 + TMA Premium 901
+ Teufel Ultima 20 Mk 2 + BK Monolith+ FF + Lenovo T460 + Kodi + Pioneer
PDP-LX5090H
Workshop: iPad 32GB Wifi + Squeezepad (local playback activated)
Wherever needed: Acer Iconia Tab A700 + Squeezeplayer
Kitchen: iPhone 5s + iPeng (local playback activated) + NAD 312 + Teufel
Ultima 20 Mk 2
Headphone (cozy corner): Lenovo T550 + Squeezelite-X + Cyrus Soundkey +
Topping A30 + Focal Elear
Car: TBC ...
------------------------------------------------------------------------
bakker_be's Profile: http://forums.slimdevices.com/member.php?userid=30369
View this thread: http://forums.slimdevices.com/showthread.php?t=108898
_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins