Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Getting null in webhook notification

I have created a topic and subscription to get notified, I am getting a notification too when I change something in the drive but I get empty notification data.
If anyone faces the same issue and gets it resolved, please reply to this.

0 3 142
3 REPLIES 3

Hi @ravina03, thank you for reaching out! This forum is dedicated to Google Cloud Application Integration - learn more here.

To ensure that your question aligns with this technology, could you confirm if you are using Application Integration to handle your webhook notifications? If not, we recommend exploring other relevant forums within the Google Cloud Community to receive guidance from experts.

Let us know if your setup involves Application Integration, and we’ll be happy to assist further! 😊

Hi @ravina03,

Welcome to Google Cloud Community!

I'm sorry to hear you're having trouble with empty notification data in Google Drive. This issue can be frustrating.

Below are the possible solutions to troubleshoot your empty Google Drive notification issue:

  • Make sure your Drive API watch request is configured correctly.
  • Examine your application's code carefully. A simple test would be to log the raw message received from Pub/Sub to see exactly what it contains, ensuring that no parsing errors are occurring within your application.
  • Confirm your subscription is active and correctly configured to receive messages from the topic. Check for any errors in the subscription's logs. If messages are arriving at the topic but not the subscription, there's a configuration problem in your subscription.
  • Monitor your message count in Pub/Sub for detailed information and to help you in identifying the possible root cause.

You may also find valuable insights in this related discussion on StackOverflow.

Was this helpful? If so, please accept this answer as “Solution”. If you need additional assistance, reply here within 2 business days and I’ll be happy to help.

What I've found is that whenever we receive a notification, the body is empty, but we do get details like the resource ID and other information in the headers.

Top Labels in this Space