Duaer

Integrations

Common issues with Google Drive in Duaer

Common Google Drive node issues in Duaer: unverified app, expiring access, OAuth errors, and getting recent files.

Google hasn't verified this app

If the OAuth app User Type is Internal, create it and sign in with the same Google Workspace account. If it is External, add the sign-in email to Test users on the Audience page of the Google Cloud console.

Access expires after a few days

Apps with Publishing status Testing and User type External lose consent after 7 days. Reconnect the credential in Duaer, or publish the app to In production.

Google Drive OAuth error

Usually the redirect URL registered in Google does not match the OAuth Redirect URL in the Duaer credential. Read the links in the Google error first. On self-hosted Duaer, also check that DUAER_EDITOR_BASE_URL and DUAER_WEBHOOK_URL are full public domains.

Get the most recently changed files

  1. In a Google Drive node, choose File/Folder > Search and turn on Return All.
  2. Under Filter, set What to Search to Files. Under Options, set Fields to *.
  3. Add a Sort node, descending by modifiedTime.
  4. Add a Limit node to keep the first item, and pass its id to the next Google Drive node.

Questions

Why does a Duaer Google credential stop working after 7 days?

Google OAuth apps in Testing with External users lose consent after 7 days. Reconnect in Duaer, or publish the app to In production.

In this section