Hi Team,
I’m working on building a pipeline to read and write content from google drive using application integrations. My first step is to try only get operation successfully. I configured a API trigger with input variable fileId. Then I configured a google drive connector with actions as drive.files.get operation. As next step, I need to map output of API trigger as input to drive connector for which I’m passing {“fileId”:“$fileId”} to Task_1_connectorInputPayload (input to integration). But when I test the integration, I always get error - '{“error”:{“code”:400,“message”:"Illegal character in path at index 42:
Hello @malhotradi ,
You are most likely getting this exception as you are not setting all pertinent key/value pairs required for the drive.files.get operation. I just pulled the operation schema, and I see the following besides the fileId:
{
"Query parameters": {
"supportsAllDrives": true,
"supportsTeamDrives": true,
"acknowledgeAbuse": false,
"includeLabels": "ABCDEFGHIJKLM",
"includePermissionsForView": "ABCDEFGHIJKLM"
},
"Path parameters": {
"fileId": "ABCDEFGHIJKL"
},
"ResponseHasBytes": true
}
You can easily set default values for each of the above by navigating to the connector input schema and putting something as the above (matching your use case)
Additionally, have you validated that the fileId is being set in the connector input operation (the logging available to the application integration process should showcase this)? Could you also provide the full stack trace of the exception, it appears this was cut off
Thanks!