Parrot-Developers / node-flower-bridge

[Ble/Cloud bridge] Synchronize your Flower Powers with a raspberry. Now you can take holidays safely.
BSD 3-Clause "New" or "Revised" License
36 stars 21 forks source link

error: invalid_client #10

Closed elitistphoenix closed 4 years ago

elitistphoenix commented 8 years ago

I changed credentials.json to add "url": "https://api-flower-power-pot.parrot.com"

Now it ends up with: url: 'https://api-flower-power-pot.parrot.com/user/v3/authenticate', method: 'POST' } CODE: 400 error: invalid_client

The master branch works but doesn't sync properly.

danielbh commented 7 years ago

+1

danielbh commented 7 years ago

Fixed this by signing up for a new API key with the same account register info.

bsautron commented 7 years ago

Hi guys,

try to checkout to 'pot' branch:

git checkout fetch git checkout pot npm install

This branch is experimental but it is compatible with the Parrot Pot and Flower Powers (firmware 2)

danielbh commented 7 years ago

@bsautron yes that worked for me too.

elitistphoenix commented 7 years ago

@bsautron I got a fresh copy of the Pots branch and changed the credentials file and it didn't seem to work. pi@raspberrypi ~/node-flower-bridge-pot $ ./bridge display

-- Flower Bridge --

✔ Login! [Jan 11 2017 17:09:54]: New process every 15 minutes

(Then nothing... for 2 hours)

Charlyphyro commented 7 years ago

Can someone explain this in a step by step guide, for dummies :)

pbranly commented 7 years ago

Hi I have the same issue It connects but no message back in debug mode I have

pbranly commented 7 years ago

Sorry for e empty message The message is error in GetInformationsCloud And I am too much dummy to know how to get the pot branch If i try the make sudo npm install xxxx/pot, i get a lot of errors Please help Regards Philippe