I’m getting a 400 error and media type pdf not supported. I successfully got 7 pdf downloaded from email outlook messages and the first 5 of them come down with mime type : application/pdf just fine but the mime type for the next couple are mime type: pdf and I’m not sure why. I can download them just fine, and they are coming from the outlook trigger the same way. Something isn’t making sense and I am wondering if someone can help me with this? The pdf’s are being outputting from the same software in the same way from the output.
</{
“nodes”: [
{
“parameters”: {
“inputDataFieldName”: “={{ $binary.keys().first()}}”,
“name”: “={{ $(‘Emails with attachements’).item.json.subject + “_” + $binary.values().first().fileName }}”,
“driveId”: {
“__rl”: true,
“value”: “My Drive”,
“mode”: “list”,
“cachedResultName”: “My Drive”,
“cachedResultUrl”: “https://drive.google.com/drive/my-drive”
},
“folderId”: {
“__rl”: true,
“value”: “1cBANJ7WEv1mNvb-7VmbGMdHY4qevuPyA”,
“mode”: “list”,
“cachedResultName”: “Upload_Quotes”,
“cachedResultUrl”: “https://drive.google.com/drive/folders/1cBANJ7WEv1mNvb-7VmbGMdHY4qevuPyA”
},
“options”: {}
},
“type”: “n8n-nodes-base.googleDrive”,
“typeVersion”: 3,
“position”: [
4720,
1296
],
“id”: “eacfc9ee-2851-44e1-b81d-9f96a16a11da”,
“name”: “Upload file1”,
“alwaysOutputData”: true,
“credentials”: {
“googleDriveOAuth2Api”: {
“id”: “nzSexlqRQJa37LXc”,
“name”: “Google Drive account”
}
}
}
],
“connections”: {},
“pinData”: {},
“meta”: {
“templateCredsSetupCompleted”: true,
“instanceId”: “f9acaa05586e183c1474240cce45cd3544eba60b09b165a395e2118b16e97779”
}
}
