Why are no events being emitted in Pipedream Connect when new files are uploaded to the selected folder in Google Drive?

This topic was automatically generated from Slack. You can find the original thread here.

Hello @U03CXTHK4RF @U02A06JPKEH I’m using Pipedream Connect to deploy a google_drive-new-files-instant trigger. The deployment succeeds (I get a trigger ID), and the webhook is registered. But when I upload files to the selected folder, no events are emitted to Pipedream.
My deploy payload looks like.

{
  "external_user_id": "<USER_EXTERNAL_ID>",
  "id": "google_drive-new-files-instant",
  "configured_props": {
    "googleDrive": {
      "authProvisionId": "<GOOGLE_DRIVE_AUTH_PROVISION_ID>"
    },
    "folders": [
      "<FOLDER_ID_TO_WATCH>"
    ],
    "drive": "My Drive",
    "includeLink": false
  },
  "webhook_url": "<webhook_url>"
}

Also i could see it in the sources also where it is showing as active
Could you help me understand why events are not being delivered in this setup?

Hey , I setup on Pipedream Connect demo (1st image) and can see events emitted normally on my side (2nd image)

I would suggest you to checkout Pipedream Connect demo and understand how it uses Pipedream SDK (under Debug tab)

Hey , Thanks for the response!
just for the context i am using custom oauth for google! with drive.file and using picker in the FE for selection of folders!

Hey , two questions:

  1. When you deployed the trigger, did you add the OAuth App ID param to the Connect Link?
  2. Can you look at the source logs and see if there’s anything strange there?
    (e.g. https://pipedream.com/sources/<dc_ID>/logs)

Hello ,
• yes i added the oauthapp id in the connect link!
the deploy id is → dc_wDuZKZA

Here are the logs for it.

2025-10-13T14:12:33
End
2025-10-13T14:12:33
Log
Update type sync not in list of updates to watch: [ 'add', 'change' ]
2025-10-13T14:12:33
http.respond
2025-10-13T14:12:33
db.get
db["pageToken"] ⭆ "554"
2025-10-13T14:12:33
db.get
db["channelID"] ⭆ "891bc7ae-f81e-455e-aa4c-01d1542d132f"
2025-10-13T14:12:33
db.get
db["subscription"] ⭆ {"expiration":1760431351000,"resourceId":"QkwzqdZN-YaOx-2CUMZRii4NhDU"}
2025-10-13T14:12:33
Start
{ "method": "POST", "path": "/", "query": {}, "client_ip": "66.102.8.170", "url": "https://149148ada008fa54c0e7088402dcee58.m.pipedream.net/", "headers": { "host": "[149148ada008fa54c0e7088402dcee58.m.pipedream.net](http://149148ada008fa54c0e7088402dcee58.m.pipedream.net)", "content-length": "0", "accept": "**/**", "x-goog-channel-id": "891bc7ae-f81e-455e-aa4c-01d1542d132f", "x-goog-channel-expiration": "Tue, 14 Oct 2025 08:42:31 GMT", "x-goog-resource-state": "sync", "x-goog-message-number": "1", "x-goog-resource-id": "QkwzqdZN-YaOx-2CUMZRii4NhDU", "x-goog-resource-uri": "https://www.googleapis.com/drive/v3/changes?alt=json&pageToken=554", "user-agent": "APIs-Google; (+https://developers.google.com/webmasters/APIs-Google.html)", "accept-encoding": "gzip, deflate, br" }, "bodyRaw": "", "body": "" }
2025-10-13T14:12:32
End
2025-10-13T14:12:32
db.set
db["pageToken"] ⭅ "554"
2025-10-13T14:12:32
db.set
db["channelID"] ⭅ "891bc7ae-f81e-455e-aa4c-01d1542d132f"
2025-10-13T14:12:32
db.set
db["subscription"] ⭅ {"expiration":1760431351000,"resourceId":"QkwzqdZN-YaOx-2CUMZRii4NhDU"}
2025-10-13T14:12:32
Log
Watch request for drive successful, expiry: 1760431351000
2025-10-13T14:12:32
Log
Stopped push notifications on channel a52b643e-a26b-4c52-b3b5-6484f1cf7b57
2025-10-13T14:12:32
Log
Notifications for resource QkwzqdZN-YaOx-2CUMZRii4NhDU are expiring at 1760431347000. Stopping existing sub
2025-10-13T14:12:32
db.get
db["pageToken"] ⭆ "554"
2025-10-13T14:12:32
db.get
db["channelID"] ⭆ "a52b643e-a26b-4c52-b3b5-6484f1cf7b57"
2025-10-13T14:12:32
db.get
db["subscription"] ⭆ {"resourceId":"QkwzqdZN-YaOx-2CUMZRii4NhDU","expiration":1760431347000}
2025-10-13T14:12:32
Start
{ "timestamp": 1760344947, "timezone_utc": { "date": { "day": 13, "month": 10, "year": 2025 }, "iso8601": { "date": "2025-10-13", "time": "08:42:27+00:00", "timestamp": "2025-10-13T08:42:27+00:00" }, "metadata": { "day_name": "Monday", "day_of_week": 1, "start_of_week": "2025-10-13" }, "pretty": { "date": "Oct 13, 2025", "time": "8:42:27 AM", "time_24h": "08:42:27" }, "time": { "hour": 8, "millisecond": 728, "minute": 42, "second": 27 }, "timezone": "UTC" }, "timezone_configured": { "date": { "day": 13, "month": 10, "year": 2025 }, "iso8601": { "date": "2025-10-13", "time": "08:42:27+00:00", "timestamp": "2025-10-13T08:42:27+00:00" }, "metadata": { "day_name": "Monday", "day_of_week": 1, "start_of_week": "2025-10-13" }, "pretty": { "date": "Oct 13, 2025", "time": "8:42:27 AM", "time_24h": "08:42:27" }, "time": { "hour": 8, "millisecond": 728, "minute": 42, "second": 27 }, "timezone": "UTC" }, "interval_seconds": 82080 }
2025-10-13T14:12:28
End
2025-10-13T14:12:28
Log
Update type sync not in list of updates to watch: [ 'add', 'change' ]
2025-10-13T14:12:28
http.respond
2025-10-13T14:12:28
db.get
db["pageToken"] ⭆ "554"
2025-10-13T14:12:28
db.get
db["channelID"] ⭆ "a52b643e-a26b-4c52-b3b5-6484f1cf7b57"
2025-10-13T14:12:28
db.get
db["subscription"] ⭆ {"resourceId":"QkwzqdZN-YaOx-2CUMZRii4NhDU","expiration":1760431347000}
2025-10-13T14:12:28
Start
{ "method": "POST", "path": "/", "query": {}, "client_ip": "66.102.8.170", "url": "https://149148ada008fa54c0e7088402dcee58.m.pipedream.net/", "headers": { "host": "[149148ada008fa54c0e7088402dcee58.m.pipedream.net](http://149148ada008fa54c0e7088402dcee58.m.pipedream.net)", "content-length": "0", "accept": "**/**", "x-goog-channel-id": "a52b643e-a26b-4c52-b3b5-6484f1cf7b57", "x-goog-channel-expiration": "Tue, 14 Oct 2025 08:42:27 GMT", "x-goog-resource-state": "sync", "x-goog-message-number": "1", "x-goog-resource-id": "QkwzqdZN-YaOx-2CUMZRii4NhDU", "x-goog-resource-uri": "https://www.googleapis.com/drive/v3/changes?alt=json&pageToken=554", "user-agent": "APIs-Google; (+https://developers.google.com/webmasters/APIs-Google.html)", "accept-encoding": "gzip, deflate, br" }, "bodyRaw": "", "body": "" }
2025-10-13T14:12:28
db.set
db["lastFileCreatedTime"] ⭅ 1760344947662
2025-10-13T14:12:28
db.set
db["channelID"] ⭅ "a52b643e-a26b-4c52-b3b5-6484f1cf7b57"
2025-10-13T14:12:28
db.set
db["subscription"] ⭅ {"resourceId":"QkwzqdZN-YaOx-2CUMZRii4NhDU","expiration":1760431347000}
2025-10-13T14:12:28
db.set
db["pageToken"] ⭅ "554"
2025-10-13T14:12:28
Log
Watch request for drive successful, expiry: 1760431347000
2025-10-13T14:12:27
activate
2025-10-13T14:12:26
deploy

Logs look ok, and the custom OAuth is linked correctly

Is that folder inside a Shared Drive by any chance?

It is receiving the webhook from Google Drive correctly, and also renewing the subscription correctly