Google Drive API automation using Drive API V3 skills, Getting error as Internal : Unexpected error Offset and length were out of bounds for the array or count is greater than the number of elements from index to the end of the source collection
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
08-02-21 04:34 PM
Hi Team,
On a high priority basis, I am working on a project involving Google drive automation using the API method in Blu prism. I have created the Project, Application credentials, like Client Id, Client secret in the GCP console to get the primary resources to automate the same.
Upon configuring the same credentials in BP-Credentials Manager and calling the "Drive API v3" object from the process studio, I am getting the below error
"Internal: Unexpected error Offset and length were out of bounds for the array or count is greater than the number of elements from index to the end of the source collection."
- Blue Prism version number: V 6.10
- Summary of issue: Getting Error as " Internal: Unexpected error Offset and length were out of bounds for the array or count is greater than the number of elements from index to the end of the source collection."
- Severity: Very High (S1)
- Steps to Reproduce: Create credentials on GCP Console, "https://console.cloud.google.
com/apis/credentials/ oauthclient" Get Client ID and Client secret code. - Install/Import the "https://digitalexchange.
blueprism.com/dx/entry/9648/ solution/drive-api-v3-2" asset and Configure the GCP Client ID and Client secret in credential manager. ( Pass Client Secret as "-----BEGIN PRIVATE KEY-----Client Secret-----END PRIVATE KEY-----") - Call action stage for creating a file in drive or Getting the list of files, pass the inputs and execute the same.
- Logs and Screenshot: Please refer to the attachments.
Kindly help us by providing the documentation for automating the G Drive, and resolutions for the same.
Thanks and Regards
Pradeep Padashetty
------------------------------
Pradeep Padashetty
------------------------------
12 REPLIES 12
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
17-03-22 05:06 AM
Hi @Agustin Rodolfo,
I have just uploaded version 2.0 of the Google Drive API asset on DX with some simplifications in terms of the number of parameters to make it easier to use. However feel free to customize it or add more relevant parameters based on the official documentation from Google https://developers.google.com/drive/api/v3/reference
https://digitalexchange.blueprism.com/dx/entry/9648/solution/drive-api-v3-2
For uploading a new file to drive there are three parameters required. Description included in the BPrelease.

------------------------------
Shashank Kumar
DX Integrations Partner Consultant
Blue Prism
Singapore
+6581326707
------------------------------
I have just uploaded version 2.0 of the Google Drive API asset on DX with some simplifications in terms of the number of parameters to make it easier to use. However feel free to customize it or add more relevant parameters based on the official documentation from Google https://developers.google.com/drive/api/v3/reference
https://digitalexchange.blueprism.com/dx/entry/9648/solution/drive-api-v3-2
For uploading a new file to drive there are three parameters required. Description included in the BPrelease.
------------------------------
Shashank Kumar
DX Integrations Partner Consultant
Blue Prism
Singapore
+6581326707
------------------------------
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
17-03-22 01:55 PM
Hi Team,
We didn't get a solid way to fix the issue, need your help on fixing this as soon as possible.
Best Regards
Pradeep Padashetty
Pradeep Padashetty
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
21-03-22 01:51 AM
Hi @PradeepPadashet,
Have you had a chance to take a look at the revised Drive implementation that @shashank.kumar280 posted about above?
Cheers,
------------------------------
Eric Wilson
Director, Integrations and Enablement
Blue Prism Digital Exchange
------------------------------
Have you had a chance to take a look at the revised Drive implementation that @shashank.kumar280 posted about above?
Cheers,
------------------------------
Eric Wilson
Director, Integrations and Enablement
Blue Prism Digital Exchange
------------------------------

- « Previous
-
- 1
- 2
- Next »