Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when pushing #2

Closed
Scream4Life opened this issue Feb 14, 2019 · 1 comment
Closed

Error when pushing #2

Scream4Life opened this issue Feb 14, 2019 · 1 comment

Comments

@Scream4Life
Copy link

Scream4Life commented Feb 14, 2019

Hi, I installed everything and just took your example of the messages and got this message, when I push my first message

[2019-2-14 14:05:44] [Pushover] Sending message: Larm avaktiverat
/usr/local/lib/node_modules/homebridge-pushover/node_modules/pushover-notifications/lib/pushover.js:83
	    throw new Error(d.errors[0]);
	    ^

Error: application token is invalid
    at Pushover.errors (/usr/local/lib/node_modules/homebridge-pushover/node_modules/pushover-notifications/lib/pushover.js:83:12)
    at IncomingMessage.<anonymous> (/usr/local/lib/node_modules/homebridge-pushover/node_modules/pushover-notifications/lib/pushover.js:167:11)
    at emitNone (events.js:111:20)
    at IncomingMessage.emit (events.js:208:7)
    at endReadableNT (_stream_readable.js:1064:12)
    at _combinedTickCallback (internal/process/next_tick.js:138:11)
    at process._tickCallback (internal/process/next_tick.js:180:9)

I copied the token directly from Pushover and tried as user my mail account, with which I log into Pushover as well as the Pushover-notification email. Result is the same.

node -v is 8.11.3

@Scream4Life
Copy link
Author

Ok, found it myself. What I inserted as token is basically the user-attribute. And I needed an App-Token separately for the token-attribute. I found some information about it here https://pushover.net/faq#licensing-paid. Now it works.

@meg768 meg768 closed this as completed Dec 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants