pipedrive / client-nodejs

Pipedrive API client for NodeJS
MIT License
205 stars 82 forks source link

Event listeners broken #58

Closed Thaddaway closed 6 years ago

Thaddaway commented 6 years ago

It appears that the Ad hoc event listeners have stopped working. I'm pretty sure that the problem isn't on my end because even the examples file live-updates.js won't fire the pipedrive.on('connect' event or the pipedrive.on('deal.added' event. No event listeners at all are working, but things like pipedrive.Deals.getAll() still work fine. Does pipedrive still support this client?

Thaddaway commented 6 years ago

If anyone is able to use event listeners successfully right now please tell me so I know it's actually on my end if it is! Thanks.

Update: Problem is NOT on my end. Pipedrive support has acknowledged there is a bug and they are fixing it this week. (11/20)

arthurjdam commented 6 years ago

The Push Notifications API (which channel.js relies on) has been deprecated: https://developers.pipedrive.com/docs/api/v1/#!/PushNotifications/post_pushNotifications Webhooks will have to be used instead.

Thaddaway commented 6 years ago

I see. Thanks for the info!