Skip to content
This repository was archived by the owner on Dec 21, 2023. It is now read-only.

ErrorCode: invalid_request - api.meethue.com #13

Open
@flamnitka

Description

@flamnitka

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.

  1. 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 composer require cannonb4ll/laravel-philips-hue:dev-master to force using the current master.

  2. 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 use env('PHILIPS_HUE_CLIENT_ID') and env('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')

  3. I'm receiving the following message once completing the services.php file and using http://{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.

  4. 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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions