Wordpress MCP Bad Request Bad request - please check your parameters

I am using WordPress MCP with an AI agent to update blog posts for SEO. At the last node, I encountered this error, and I’m unsure of what to do.
Bad request - please check your parameters
Invalid schema for function ‘wc_add_product’: In context=(‘properties’, ‘meta_data’, ‘items’, ‘properties’, ‘value’, ‘anyOf’, ‘6’), array schema missing items.

Describe the problem/error/question

What is the error message (if any)?

Please share your workflow

https://nextcallclub.app.n8n.cloud/workflow/80PCw7kMUuz617Hn

Share the output returned by the last node

Bad request - please check your parameters

Invalid schema for function ‘wc_add_product’: In context=(‘properties’, ‘meta_data’, ‘items’, ‘properties’, ‘value’, ‘anyOf’, ‘6’), array schema missing items.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:
1 Like

@Victor_Salazar The data you’re sending to update the product has a formatting error, specifically in the “meta_data” section. I believe the system expects a different structure for this data.

1 Like