Dylan Sather (Pipedream) : hopefully my last ping for the day. Trever and I were chatting over DM and he asked about pagination for this API call. I looked into the docs and it looks like the REST API for changes.list defaults to returning the last 100 changes. It’s not clear whether the Node SDK will handle pagination on our behalf from the docs, but they do also take a maxResults param (and return a nextLink), so I wonder if that could be it. If we accrue more than 100 changes for the user’s drive since the last time the spreadsheet was edited, I can see how we could miss the change and get into this state
Dylan Sather (Pipedream) : (drive.changes.list docs here)
Trever Faden : any chance we’ll be able to get this patched today? I have some business processes that are backed up because of the bug 
Dylan Sather (Pipedream) : yes, I believe I can get it working for you. Do you mind if I edit the source’s code?
Trever Faden : go for it
Dylan Sather (Pipedream) : Would you mind adding one more row of test data to your spreadsheet?
Trever Faden : hey now!
Trever Faden : that worked!
Dylan Sather (Pipedream) : great, I would recommend simply copying and pasting the two rows that failed to emit now
Dylan Sather (Pipedream) : at the bottom of the spreadsheet
Dylan Sather (Pipedream) : and those should also emit successfully now
Dylan Sather (Pipedream) : then we’ll address the pagination issue ASAP and get you a new version of the source you can use
Trever Faden :
thank you!
Jay Vercellone : Hey there! Sorry for the delay
Jay Vercellone : Did you implement the change in your workflow? Or in the repo?
Dylan Sather (Pipedream) : Jay I simply reset the most recent pageToken in Trever’s source and ran it again, which let us grab more recent rows. I haven’t made any changes to the way we list drive changes. Do you think that hypothesis makes sense?
Dylan Sather (Pipedream) : i.e. the stuff about pagination with the call to drive.changes.list ?
Jay Vercellone : So basically the pageToken that we cached was too far behind?
Dylan Sather (Pipedream) : that’s right, and I believe we only list the first 100 changes since that page token, and that didn’t include the changes to this spreadsheet
Dylan Sather (Pipedream) : too many changes to other files had processed in the meantime