Messages and limitations of the Google Drive connector

Message code list of GOOGLEDOCS category

The following message codes correspond to errors that occur in Google Drive Connector.

 

GOOGLEDOCS0000E

This message code is output when an undefined error occurs.

Cause

Solution

An undefined error occurred.

Check the error message or the help of the operation in which the error has occurred.

Corresponding error

  • None

 

GOOGLEDOCS0001E

This message code is output when connection to Google Drive fails.

Cause

Solution

Client ID, Client secret, or Refresh token of the connection resource is incorrect.

Check the connection resource settings.

Access permission for Refresh token of the connection resource has been removed due to configuration changes on the service-provider side.

Re-authenticate and update Refresh token of the connection resource.

Client secret of the connection resource has been disabled due to configuration changes on the service-provider side.

Check the settings of service provider's application authentication information.

Service provider's application authentication information is deleted.

Check the settings of service provider's application authentication information.

Corresponding error

  • com.google.api.client.auth.oauth2.TokenResponseException

  • org.apache.oltu.oauth2.common.exception.OAuthRuntimeException

 

GOOGLEDOCS0003E

This message code is output when an attempt to delete the root folder by the Delete File/Folder operation has been made.

Cause

Solution

An attempt to delete the root folder by the Delete File/Folder operation has been made.

If Delete Folder is selected, specify a folder other than the root folder in Folder Path.

Corresponding error

  • java.lang.UnsupportedOperationException

 

Exception messages of GOOGLEDOCS category

Exception name

Cause

Solution

com.google.api.client.auth.oauth2.TokenResponseException

400 Bad Request { "error" : "invalid_grant" }

Refresh token is incorrect.

Check Refresh token.

com.google.api.client.auth.oauth2.TokenResponseException

400 Bad Request { "error" : "invalid_grant", "error_description" : "Token has been revoked." }

Application access permission was removed due to a user operation on the service-provider side.

Perform OAuth 2.0 authentication again, and set the newly issued token to Refresh token.

InvalidPropertyConfigurationException

<Property name> is not specified.

<Property name> isn't specified.

Specify <property name>.

java.lang.UnsupportedOperationException

root folder cannot be deleted.

An attempt to delete the root folder has been made.

If Delete Folder is selected, specify a folder other than the root folder in Folder Path.

OAuth2ProblemException

invalid_client

Issue refresh token... operation failed because the specification in Client secret is incorrect.

Check Client secret.

org.apache.oltu.oauth2.common.exception.OAuthRuntimeException

Unauthorized

Client ID or Client secret is incorrect.

Check Client ID or Client secret.

ResourceNotFoundException

Resource definition could not be found. Name: []

Destination isn't specified.

Specify Destination.

ResourceNotFoundException

Resource definition could not be found. Name: [<connection resource name>]

The resource definition selected in Destination isn't found.

Check the connection resource specified in Destination.

 

Limitations of GOOGLEDOCS category

Operation environment

Notes

  • The behavior described in the help pages is subject to change depending on specification changes in the destination.

Get File/Folder List

Specification limits

  • On Google Drive, files/folders with the same name are available, but this connector doesn't support them.

  • Only the files/folders located under My Drive can be accessed.

Notes

  • HTTPS is used in the communication between Google Drive and this connector.

  • If an error that is unrelated to the connection (an error which isn't described in "Exception messages") occurs during execution, "Error" is set for the status attribute of the file element of the file or folder in which the error occurred, the result data is output, and the subsequent processing continues.

  • If the free space on Google Drive is running out, the file/folder list may not be obtained successfully. In that case, increase the free space of Google Drive.

Read File/Folder

Specification limits

  • Google format files are obtained without conversion.

  • On Google Drive, files/folders with the same name are available, but this connector doesn't support them.

  • Files/folders whose name contains restricted characters of HULFT Square Storage can't be handled.

  • Only the files/folders located under My Drive can be accessed.

Notes

  • HTTPS is used in the communication between Google Drive and this connector.

  • If an error that is unrelated to the connection (an error which isn't described in "Exception messages") occurs during execution, "Error" is set for the status attribute of the file element of the file or folder in which the error occurred, the result data is output, and the subsequent processing continues.

  • If the free space on Google Drive is running out, the process of acquiring files/folders may not perform successfully.

    In that case, increase the free space of Google Drive.

Write File/Folder

Specification limits

  • Due to the specifications of Google Drive, a 0 byte file can't be written. In that case, the status attribute of the file element of the result data will be "ErrorLocalFileSize0Byte".

  • If large files are written, "Error writing request body to server" may be returned from Google Drive, and writing may not be possible. In that case, "Error" is set to the status attribute of the file element of the file, and "Error writing request body to server" is output in the error log.

  • On Google Drive, files/folders with the same name are available, but this connector doesn't support them.

  • If any of the following conditions is satisfied, writing to files owned by other users will be possible.

    • The file to be written is in Google formats.

    • The user's access to the file is "Can edit".

  • Only the files/folders located under My Drive can be accessed.

Notes

  • HTTPS is used in the communication between Google Drive and this connector.

  • If an error that is unrelated to the connection (an error which isn't described in "Exception messages") occurs during execution, "Error" is set for the status attribute of the file element of the file or folder in which the error occurred, the result data is output, and the subsequent processing continues.

  • If the free space on Google Drive is running out, the process of writing files/folders may not perform successfully.

    In that case, increase the free space of Google Drive.

Delete File/Folder

Specification limits

  • When the owner of the folder specified for Folder path is another user, and Delete folder is selected, the status attribute of the file element of the folder is set to "Error" and the folder isn't deleted.

  • When the owner of the file or folder specified for File/Folder name is another user, the status attribute of the file element of the file or folder is set to "Error" and the file or folder isn't deleted.

  • On Google Drive, files/folders with the same name are available, but this connector doesn't support them.

  • Only the files/folders located under My Drive can be accessed.

Notes

  • HTTPS is used in the communication between Google Drive and this connector.

  • If an error that is unrelated to the connection (an error which isn't described in "Exception messages") occurs during execution, "Error" is set for the status attribute of the file element of the file or folder in which the error occurred, the result data is output, and the subsequent processing continues.

  • The deleted files/folders are moved to "Trash".

  • If the free space on Google Drive is running out, the process of deleting files/folders may not perform successfully.

    In that case, increase the free space of Google Drive.