Studio Web - Google API keys are missing.Some functionality of Chromium Portable will be disabled

Hello,

I built a flow during one of the Studio Web working sessions. I can confirm that the automation was working as intended by looking up temperature by City names and updating temperatures to a Google Worksheet.

Fast forward few days later, I reopened the project and ran it again. But this time, I see this message after Google session is launched as shown below:

Once the session is disabled, taking control of the session and dismissing the message does not do anything. The automation simply fails.

I am not sure why. I asked someone else to confirm if it’s happening to them. But it isn’t.

What am I missing?

thanks,
Andy

In the impacted Windows machine try these commands in a cmd.exe console:

can use the command prompt to set the following environment variables to “no”:

setx GOOGLE_API_KEY "no"
setx GOOGLE_DEFAULT_CLIENT_ID "no"
setx GOOGLE_DEFAULT_CLIENT_SECRET "no"

Windows’ environment variables can also be set from the “Advanced System Settings” tab of the “System” control panel. After setx ... relaunching the browser should no longer have the message. Setting the variables through the “Advanced System Settings” tab may require a log-out before it takes effect.

Reference: windows - Google API Keys Missing Warning Message when using Chromium Portable - Stack Overflow

Hello @marian.platonov,

Just so I get this right:

I do not have Google Chrome Browser installed on my local development machine. The Studio Web automation was developed with Google.com opened in MSFT Edge on my local machine.

Will setting these environment variables on my development machine, fix the problem when the automation runs in the virtual environment?

Thank you very much for your quick response to my post.

-Andy

Hi Andy,

We looked into your problem, and something does seem off. It would be helpful if you could give us more details about the project or export it.

I tagged the Ui Automation team on this problem as well.

Hello @silviu_tanasie,

Here is the exported flow. And the screen grab of the spreadsheet in Google Drive shows that the workflow ran as expected a couple of times on Day 1 by updating City temperatures to that spreadsheet. *Obviously there was one bad value on Day 2 in column B, but that isn’t related to the problem at hand.

City Temperature from Google.uip (202.3 KB)

Thank you for your help with this issue.
-Andy

Hello @AndyMenon ,

I tested the shared workflow and I think the problem appears when opening unauthenticated google.com. In this case I got the cookie consent popup that doesn’t allow to execute the Click activity. After that, the Get Text activity was failing because the UI element couldn’t be found.

After I created a browser connection for Use Browser: Google activity by switching the “Requires Authentication?” toggle to On and creating a connection (Add connection option), the workflow run successfully.

You can try creating a browser connection for the Use Browser activity and check if it works for you as well.

Best regards,
Luiza

This is really helpful. I will try this out. A couple of updates from my end.

I just ran the same automation from the same laptop, and the same Studio Web environment this morning between 10 and 11 AM US EST, and I could see it run in the Preview window like it is supposed to. Here is the file that it updated on Google Drive.

But today something different happened while logging into Automation Cloud via an Incognito window. Google showed me a restyled login dialog box and I was prompted to re-enter my google password to login before I could get to platform.uipath.com. This did not happen in the past.

I’m thinking if I by chance satisfied the Required Authentication criteria in that process as a result of which I was able to run the automation?

Thanks for getting back to me.
-Andy