ErrorCode: invalid_request - api.meethue.com #13
Description
Hello,
Thanks for the great work. I have been attempting to utilize laravel-philips-hue however I'm having some odd experiences, listed out some things I've noticed in case these help identify the issue. My core issue is that when I http://{app-url}/hue/auth
I receive a standard {"ErrorCode" : "invalid_request", "Error" :"The request is missing required parameters."}
. Below is some areas where the issue might be occurring.
-
composer require cannonb4ll/laravel-philips-hue
is grabbing version 1.5 (Oct 5th) instead of using the current dev-master (Oct 9th - 62aaa30). Not sure if anything needs to be changed on the packagist.org site. To solve this I've been using composerrequire cannonb4ll/laravel-philips-hue:dev-master
to force using the current master. -
Within HueClient.php & HueUser.php the below changes were made recently - should the "README.md" config area need to be update as well? The readme still directs that the
config/services.php
should useenv('PHILIPS_HUE_CLIENT_ID')
andenv('PHILIPS_HUE_CLIENT_SECRET')
....
The example of the changes I'm referencing can be seen here
REMOVED:env('PHILIPS_HUE_APP_ID')
ADDED:config('services.philips-hue.app_id')
-
I'm receiving the following message once completing the
services.php
file and usinghttp://{app-url}/hue/auth
ERROR CODE:{"ErrorCode" : "invalid_request", "Error" :"The request is missing required parameters."}
This sadly is a very common / standard error code by Hue so I can't learn much from it. This is my main problem. -
As a side/bonus question: do you know of a clean and simple way to monitor the outbound post/get etc from Laravel so I can see the message it's sending when
http://{app-url}/hue/auth
is actioned? That way I could check the message I'm sending
Thanks again, I hope the above helps solve this issue (if it exists in the repo) or if I'm doing something wrong please point me in the better direction.