[SOLVED] Pushover: Method failed: HTTP/1.1 400 Bad Request

pushover
Tags: #<Tag:0x00007f0148b4a460>

(XBTnade4GSQa74DejEHF) #1

Hello,

my Name is Peter and I am new to OpenHAB but I am already addicted. Until now I found everything over Forum and the search, but I have a Problem which bothers me a lot.

I use pushover for my Information (e.g. from Homematic), but I cannot get this to work with OpenHAB

I installed pushover over Paper UI and my pushover.cfg is as follows:

defaultUser=<my user>
defaultToken=<myToken>
defaultTitle=openHAB

When using

sendPushoverMessage(pushoverBuilder("test message"))

the error is always:

2018-10-04 16:03:05.939 [WARN ] [ab.action.pushover.internal.Pushover] - Method failed: HTTP/1.1 400 Bad Request.

Is someone able to help me find my mistake?

Thank you very much
Peter


(XBTnade4GSQa74DejEHF) #2

Sorry - please don’t kill me, but the error was easy to solve.

I had a typo in defaultToken. I hope someone with the same error message will find this post.

Best regards
Peter


(cameronaps) #3

I have tried so many versions of settings to get pushover working, they all fail with the same " ```
Method failed: HTTP/1.1 400 Bad Request.
``"

Can some one post working examples please so I can cross check?