ERROR: Could not get parameter "options"! using APITemplate Node

Hello! Could use some help!

I am using the APITemplate.io node, trying to create an image where I am passing through the text for the template.

When I run the node, I get the error “ERROR: Could not get parameter “options”!”

Here is the workflow. It only has a Start node and an APITemplate.io node:


{
  "name": "My workflow 2",
  "nodes": [
    {
      "parameters": {},
      "name": "Start",
      "type": "n8n-nodes-base.start",
      "typeVersion": 1,
      "position": [
        240,
        300
      ]
    },
    {
      "parameters": {
        "imageTemplateId": "OBFUSCATED"
      },
      "name": "APITemplate.io1",
      "type": "n8n-nodes-base.apiTemplateIo",
      "typeVersion": 1,
      "position": [
        500,
        280
      ],
      "credentials": {
        "apiTemplateIoApi": {
          "id": "5",
          "name": "APITemplate.io account"
        }
      }
    }
  ],
  "connections": {
    "Start": {
      "main": [
        [
          {
            "node": "APITemplate.io1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "active": false,
  "settings": {},
  "id": 5
}

The output of the final node:

Error: Could not get parameter "options"!
    at getNodeParameter (/usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/src/NodeExecuteFunctions.js:687:15)
    at Object.getNodeParameter (/usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/src/NodeExecuteFunctions.js:889:24)
    at Object.execute (/usr/local/lib/node_modules/n8n/node_modules/n8n-nodes-base/dist/nodes/ApiTemplateIo/ApiTemplateIo.node.js:413:46)
    at Workflow.runNode (/usr/local/lib/node_modules/n8n/node_modules/n8n-workflow/dist/src/Workflow.js:524:37)
    at /usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/src/WorkflowExecute.js:447:62
    at processTicksAndRejections (node:internal/process/task_queues:96:5)

Running n8n on a raspberry pi Zero w 2, Version 0.152.0, npm inside pm2

Any help much appreciated!

Welcome to the community @britaliano !

That looks like a bug. I will have a short look.

Got fixed. Will be released with the next version.

For now, a “temp-fix” would be to activate the “Download” option.

Fix got released with [email protected]

Amazing, thank you!