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 #2

Closed
TCURT15 opened this issue Apr 19, 2018 · 2 comments
Closed

Event Subscription #2

TCURT15 opened this issue Apr 19, 2018 · 2 comments

Comments

@TCURT15
Copy link

TCURT15 commented Apr 19, 2018

I get the following error when trying to subscribe to events.

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

@samvdb
Copy link
Owner

samvdb commented Apr 19, 2018

Hi,

Could you provide more info about the request?
What method are you calling? What version is your musiccast running on?

@TCURT15 TCURT15 closed this as completed Apr 19, 2018
@mistljo
Copy link

mistljo commented Nov 18, 2018

got the same error->I call $musiccast->api('events')->subscribe()

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

3 participants