RayPS / node-red-contrib-pushover

A Node-RED node to send Pushover notification
Other
17 stars 6 forks source link

Unable to get working #8

Closed johntdyer closed 6 years ago

johntdyer commented 6 years ago

So I am trying to get this working and I have put in my API key, a title, and under name I have put "msg.payload" but I always seem to get the following error.

"Pushover error: ["user identifier is not a valid user, group, or subscribed user key"]"

Any idea what I am doing wrong ?

RayPS commented 6 years ago

This error is a response from Pushover, make sure your keys are correct.

johntdyer commented 6 years ago

I’ve tried creating a device and using that key and using the primary api key for my account. Neither seem to work...

RayPS commented 6 years ago

Can you test your key by using curl?

curl -X "POST" "https://api.pushover.net/1/messages.json" \
     -F "user=xxxxxxxxxxxxxxxxxxxxxxxx" \
     -F "token=xxxxxxxxxxxxxxxxxxxxxxxx" \
     -F "title=Test" \
     -F "message=Test"
johntdyer commented 6 years ago

Perhaps I am being dense but where does the user value come from ? I have tried the name of the device, my email, and just about everything else I could think of ....

RayPS commented 6 years ago

Both user and token keys is a 30 length string, you can found them in https://pushover.net