ERROR: Bad request - please check your parameters AWS Textract

Describe the problem/error/question

On the web the integration always shows me this error.

What is the error message (if any)?

ERROR: Bad request - please check your parameters AWS Textract

Please share your workflow

(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)

{
“meta”: {
“instanceId”: “e5c992b40f744386ecba0bcb17e32fd644906e7709661ad93da086a51f586e80”
},
“nodes”: [
{
“parameters”: {},
“id”: “4ec87e26-6a6d-4f66-9342-630ac0a809f4”,
“name”: “When clicking "Execute Workflow"”,
“type”: “n8n-nodes-base.manualTrigger”,
“typeVersion”: 1,
“position”: [
1520,
740
]
},
{
“parameters”: {
“operation”: “download”,
“fileId”: {
“__rl”: true,
“value”: “14qCV6IzF9HRPURYsTfOZdPY3FF_61Gff”,
“mode”: “list”,
“cachedResultName”: “test.jpg”,
“cachedResultUrl”: “https://drive.google.com/file/d/14qCV6IzF9HRPURYsTfOZdPY3FF_61Gff/view?usp=drivesdk
},
“options”: {}
},
“id”: “f2c688f6-f9b4-4fca-b93d-6f4f2c42a6ff”,
“name”: “Google Drive”,
“type”: “n8n-nodes-base.googleDrive”,
“typeVersion”: 2,
“position”: [
1740,
740
],
“credentials”: {
“googleDriveOAuth2Api”: {
“id”: “5”,
“name”: “Google Drive account”
}
}
},
{
“parameters”: {
“simple”: false
},
“id”: “4faa2c85-454d-45fb-b42f-004f3da2bb75”,
“name”: “AWS Textract1”,
“type”: “n8n-nodes-base.awsTextract”,
“typeVersion”: 1,
“position”: [
1960,
740
],
“credentials”: {
“aws”: {
“id”: “2”,
“name”: “AWS account”
}
}
}
],
“connections”: {
“When clicking "Execute Workflow"”: {
“main”: [
[
{
“node”: “Google Drive”,
“type”: “main”,
“index”: 0
}
]
]
},
“Google Drive”: {
“main”: [
[
{
“node”: “AWS Textract1”,
“type”: “main”,
“index”: 0
}
]
]
}
}
}

Share the output returned by the last node

ERROR: Bad request - please check your parameters

{“__type”:“UnsupportedDocumentException”,“Message”:“Request has unsupported document format”}

Information on your n8n setup

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

Hi @Miguel_Salinas, welcome to the community.

I am so sorry for the trouble. I don’t have access to your example document but was able to reproduce the problem with another file working fine in the AWS console, but failing through n8n.

As such I have added this problem to our internal bug tracker for a closer look and a fix. We will update this post once the problem is resolved.

I have the same issue. I notice it occurs with multiple pages PDF. When I split the PDF into single page PDF, it works.
Hope this helps for debugging.

Is this issue perhaps connected to this one?

Hi, I have similar issue too. Did someone was able to solve it ?

1 Like

No, for me the Textract node seems broken…

Hi folks, I am so sorry for the trouble :frowning:

@sirdavidoff do you perhaps have any timeline as to when this issue is going to be looked at?

1 Like

Would be great if this could be fixed. Appreciate the help!

I have the same issue.

Hi @Zaphod, I am so sorry for this.

Unfortunately this isn’t a very popular node and as such this problem doesn’t currently have a high priority on our bug tracker. So I don’t have a timeline for a fix yet :frowning:

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.