Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Discord node with Custom API Call #9052

Open
sympherjim opened this issue Apr 4, 2024 · 2 comments
Open

Discord node with Custom API Call #9052

sympherjim opened this issue Apr 4, 2024 · 2 comments
Labels
in linear Issue or PR has been created in Linear for internal review

Comments

@sympherjim
Copy link

Bug Description

I'm getting an error if I use Custom API Call with Discord node

To Reproduce

  1. Create a new workflow
  2. Add Discord node
  3. Select the preferred Connection Type
  4. Select the Credential for Step 3
  5. Select Custom API Call for Resource
  6. Test workflow

Expected behavior

It should proceed to the HTTP Request node for the custom API call

Operating System

Ubuntu Linux

n8n Version

1.34.2

Node.js Version

--

Database

SQLite (default)

Execution mode

main (default)

@sympherjim
Copy link
Author

{
  "errorMessage": "Could not get parameter",
  "errorDetails": {
    "errorExtra": {
      "parameterName": "operation"
    }
  },
  "n8nDetails": {
    "n8nVersion": "1.34.2 (Self Hosted)",
    "binaryDataMode": "default",
    "stackTrace": [
      "Error: Could not get parameter",
      "    at getNodeParameter (/usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/NodeExecuteFunctions.js:1529:15)",
      "    at Object.getNodeParameter (/usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/NodeExecuteFunctions.js:2205:24)",
      "    at Object.router (/usr/local/lib/node_modules/n8n/node_modules/n8n-nodes-base/dist/nodes/Discord/v2/actions/router.js:41:28)",
      "    at Object.execute (/usr/local/lib/node_modules/n8n/node_modules/n8n-nodes-base/dist/nodes/Discord/v2/DiscordV2.node.js:19:38)",
      "    at Workflow.runNode (/usr/local/lib/node_modules/n8n/node_modules/n8n-workflow/dist/Workflow.js:724:42)",
      "    at /usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/WorkflowExecute.js:660:68",
      "    at processTicksAndRejections (node:internal/process/task_queues:95:5)",
      "    at /usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/WorkflowExecute.js:1062:20"
    ]
  }
}

@Joffcom
Copy link
Member

Joffcom commented Apr 5, 2024

Hey @sympherjim,

Thanks for the report, The Custom API Call option isn't actually meant to run at all and instead it should show a message to guide you to the http request node (at the moment).

We have NODE-851 open to fix this in the future.

@Joffcom Joffcom added the in linear Issue or PR has been created in Linear for internal review label Apr 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in linear Issue or PR has been created in Linear for internal review
Projects
None yet
Development

No branches or pull requests

2 participants