Why Has the Google Drive Trigger Stopped Monitoring New Files in the Workflow?

Oh

I can’t go back further than 12:06:40

hold on, let me recreate the entire thing and look asap

I was asking because we dedupe events using the fileID and the headers["x-goog-message-number"] field:
${fileId}-${headers["x-goog-message-number"]}

So if the headers["x-goog-message-number"] is different for the two events then Google is sending the same exact event twice

Couldn’t recreate this time.

  1. Deleted a file.
  2. Waited 1 second.
  3. Uploaded the file.
    1 event generated:

FYI your endpoint is exposed in the screenshot

Sigh. Never easy

So as it stands with this last run…only 1 event was generated

after deleting, then re-uploading

I’ll try another.

Ok. I’m looking at the logs

That time I waited 4-5 seconds…

just the 1 event generated

so i’m not sure about that first set of dupes:

But otherwise appears…fixed?

Hmm can’t be that easy

:shrug:

Ok so I see that there may be more than one page of changes with each request. But we use the same value for headers["x-goog-message-number"] to dedupe. Maybe it’s better to use the timestamp of the change, but then again there were two events with the exact same timestamp