MCP Client error

Describe the problem/error/question

when i create a mcp server trigger, I’ve switched to take active. I copy production URL. Used in the tool of ai agent.
I got the following prompt:

Failed to execute tool “linkedin_data_hunter”

Error: [ { “code”: “invalid_type”, “expected”: “object”, “received”: “undefined”, “path”: , “message”: “Required” } ]

What is the error message (if any)?

Failed to execute tool “linkedin_data_hunter”

Error: [ { “code”: “invalid_type”, “expected”: “object”, “received”: “undefined”, “path”: , “message”: “Required” } ]

Please share your workflow

MCP trigger:

Information on your n8n setup

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

Hi @laughing_laughing

I noticed a couple of issues

According to fdocs docs You’re using a GET request instead of POST for /search-posts end point, and it looks like you’re not sending any request body as well.

Please follow this example that includes an example of the body and edit it to suit your needs.

Please double-check the endpoint you’re using,it might help to review their documentation…

1 Like

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