Apollo HTTP request returns error 422 - Not an array, while array

Describe the problem/error/question

I am trying to run a HTTP request to Apollo which includes an array with values. The requests ends in an error:

It states that I am not passing in an array, but in a “ActiveSupport::HashWithIndifferentAccess”.

When I check the developer console it clearly states that I am passing in an Array.

I tried passing it in from a set node and directly in the field itself.

What am I doing wrong?

What is the error message (if any)?

422 → person_titles requires an array. You are passing in ActiveSupport::HashWithIndifferentAccess

Please share your workflow

Share the output returned by the last node

Information on your n8n setup

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

Hey @LinkedUp_Online,

That looks correct to me, The only thing I can think of would be to get in touch with the Apollo team and see if they have any extra information that could be useful.

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