Comments (7)
2017-06-15T18:22:15.927Z 8ec3fc1b-51f7-11e7-96b6-73db4dc77164 Error: Failed to retrieve data, status code: 500
at ClientRequest.lib.get (/var/task/sonosProxy/httpClient.js:13:17)
at ClientRequest.g (events.js:291:16)
at emitOne (events.js:96:13)
at ClientRequest.emit (events.js:188:7)
at HTTPParser.parserOnIncomingClient (_http_client.js:473:21)
at HTTPParser.parserOnHeadersComplete (_http_common.js:99:23)
at Socket.socketOnData (_http_client.js:362:20)
at emitOne (events.js:96:13)
at Socket.emit (events.js:188:7)
at readableAddChunk (_stream_readable.js:176:18)
from echo-sonos.
Please help...
from echo-sonos.
I'm begging here... please help. All else works fine... I can do everything else... I just can't actually get it to play anything with the "Invalid Music Service" appearing.
from echo-sonos.
Are you by chance using Spotify? I had a similar issue that modifying one line of code corrected.
from echo-sonos.
I am using Spotify. What was the line of code that you changed?
from echo-sonos.
I was having a similar problem with Spotify.
I tracked it down to the fact that the Amazon Alexa Skill was outputting a line like:
"http://raspberrypi:5005/house/musicsearch/Spotify/song/artist:Coldplay"
Where the "service" was capitalized as "Spotify", but the javascript is looking for all lower case.
I patched the file "lib/actions/musicSearch.js" with the following:
----patch below----
196c196
< const service = values[0].toLowerCase();
const service = values[0];
----patch above----
which just makes the musicSearch use lowercase for the music Service.
Sean
from echo-sonos.
This is a critical patch to get spotify working. Note lib/actions/musicSearch.js
is in the node-sonos-http-api library
from echo-sonos.
Related Issues (20)
- "Unexpected token" error with SQS proxy HOT 2
- Exposing service to outside world - mandatory? HOT 1
- Invocation HOT 1
- Alexa Skill error "Unknown slot type" HOT 2
- Speaker Aliases HOT 1
- echo-sqs-proxy settings.json file HOT 1
- intent error
- SQS proxy help HOT 1
- Lambda Test Error: Cannot read property 'System' of undefined HOT 1
- having problem using 'livingroom'
- Cannot read property 'System' of undefined HOT 2
- Help Adding intent for english(india)
- Will this work with the latest node-sonos-http-api presets folder functionality?
- unable to get DEFAULT_MUSIC_SERVICE = spotify to work.
- New Alexa skill builder interface HOT 2
- Settings.json error
- Lambda Test Error: "Cannot read property 'System' of undefined" HOT 2
- Feature Request: Improve documentation for working with presets and limitations of Favorites
- Skill invocation now requires 2 words
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from echo-sonos.