Hi everyone,
I’m using Google Workspace Scope with OAuthClientID to call the activity Get File Info in order to retrieve metadata from Google Drive.
Normally, when the token expires or when re-authentication is required, Google displays the OAuth consent screen for us to grant access again. After granting access, the process continues normally.
Recently, at some random times during the day, the consent screen does NOT appear, which results in:
- The bot failing to obtain the required permissions
- API call failure inside the Google Workspace Scope
- The entire job failing even though the logic itself is correct
This behavior is intermittent and unpredictable.
- In our Production environment, we have two bots running in sequence.
- Each bot triggers every 15 minutes.
- Both bots use the same OAuthClientID configuration for Google Workspace access.
Has anyone experienced a situation where the Google OAuth consent screen fails to appear, causing the UiPath process to lose access? What could be the possible root causes? Are there more stable approaches to avoid UI-triggered consent screens in Production?
Thanks in advance!