Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Event Subscription not working #4

Open
mistljo opened this issue Nov 18, 2018 · 0 comments
Open

Event Subscription not working #4

mistljo opened this issue Nov 18, 2018 · 0 comments

Comments

@mistljo
Copy link

mistljo commented Nov 18, 2018

I call $yamaha->api('events')->subscribe(); and get this eror:

Fatal error: Uncaught MusicCast\Exception\ErrorException: Invalid Request (A method did not exist, a method wasn’t appropriate etc.) in /var/lib/symcon/scripts/vendor/granddam/php-musiccast-api/src/HttpClient/Plugin/MusicCastExceptionThrower.php:28
Stack trace:
#0 /var/lib/symcon/scripts/vendor/php-http/httplug/src/Promise/HttpFulfilledPromise.php(34): MusicCast\HttpClient\Plugin\MusicCastExceptionThrower->MusicCast\HttpClient\Plugin{closure}(Object(GuzzleHttp\Psr7\Response))
#1 /var/lib/symcon/scripts/vendor/granddam/php-musiccast-api/src/HttpClient/Plugin/MusicCastExceptionThrower.php(38): Http\Client\Promise\HttpFulfilledPromise->then(Object(Closure))
#2 /var/lib/symcon/scripts/vendor/php-http/client-common/src/PluginClient.php(160): MusicCast\HttpClient\Plugin\MusicCastExceptionThrower->handleRequest(Object(GuzzleHttp\Psr7\Request), Object(Closure), Object(Closure))
#3 /var/lib/symcon/scripts/vendor/php-http/client-common/src/PluginClient.php(174): Http\Client\Common\PluginClient->Http\Client\Common{closure}(Objec in /var/lib/symcon/scripts/vendor/granddam/php-musiccast-api/src/HttpClient/Plugin/MusicCastExceptionThrower.php on line 28

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant