Error trying to read a text from Read Text Google Workspace

Learning platform

WebStudio

Description

Hello, I am able to get files from Google workspace, but when I try to read using the read text activity I am getting the error message:
“Error: UiPath.GSuite.Exceptions.GSuiteException: The request is not as expected by Google API…”. this is part of the initial practice to use variables but I don’t know what else I need to do in order to get the text from the file

Link

Date

2025-09-26

Related UiPath products

Studio Web

@eaxulu,

Configure the activity like this

Here I have picked up the file using File picker option on the Document property. If you want it dynamic choose Use File Variable option

But remember, here you will require to pass the variable of type GDriveRemoteItem

To Get the GDriveRemoteItem of the file use Get File or Folder activity and Choose URL or ID

Now open the document in your drive in browser and take the URL of the file like this.

Final flow will look like this.

@eaxulu

Welcome to the community

did the get files get only text files?

if its not a text file would fail

may be after retrieval or in get files use filter to get only text

and then use read text

cheers