I've configured the push notifications following this guide and when calling the watch endpoint I get an expiration of about one week.
During this period I expect to receive notification to the Pub/Sub topic I've configured without the need to call the watch
endpoint some time before the expiration date.
However what happens is that after about one day I'm not receiving notifications anymore and calling the watch
endpoint doesn't help.
Why GMail has stopped to send notification to the subscription endpoint?
Gmail Pub/Sub notification subscriptions expire in 7 days, you have to call watch()
again to renew your subscription.
https://developers.google.com/gmail/api/guides/push#renewing_mailbox_watch
Maybe that's the issue.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With