Help - I can not get the node-flower-power bridge to work

Hi everybody,

I’m trying to use this: https://github.com/Parrot-Developers/node-flower-bridge to communicate my Raspberry Pi with my flower power. However, after installing everything, the message I get from ./bridge display is error: invalid client.

I have created a credentials.json file with this data inside:

{
“client_id”: "my_email_address@gmail.com",
“client_secret”: “my_secret_received_by_email”,
“username”: “email_used_in_the_iOS_app”,
“password”: “password_used_in_the_iOS_app”,
“url”: “https://api-flower-power-pot.parrot.com/user/v1/authenticate
}

Is the URL correct? Am I doing something wrong?

Thanks!!!

You appear to be missing “grant_type”