<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content

Google Drive Upload File Card Error 500 Invalid Input for String

Workflows
Okta Classic Engine
Okta Identity Engine

Overview

When running a Flow with a Google Drive Upload File Card, it gets stuck in a permanent loading state, and after a long time, it will provide the following error: 

Invalid input for '"string"' 
"code": 500,

Error Message 

Applies To

  • Invalid input for a string
  • Workflows
  • Google Drive Upload File Card

Cause

There are two reasons why this error might occur:

  • The account that was used to create the Connection from Workflows and Google Drive is not added as a Shared Member of the Folder where the File will be uploaded.
  • In the Google Drive Folder where the file was uploaded, the account's permissions are not set as Editor. They are set as Viewer or Commenter.

Solution

The solution for the Issue is to check if the Connection Account has Access to the folder and give them the Editor Permission so the flow can upload the file.

Editor permission 

Loading
Okta Support - Google Drive Upload File Card Error 500 Invalid Input for String