Odoo Node outdated?

Describe the problem/error/question

Hi I’m connecting to my Odoo instance with the official node. However we recently moved our API key to a dedicated service account and now the now refuses to connect. Odoo v19 introduced a new JSON-2 API endpoint and I would like to better understand which API the n8n node uses to interact with Odoo. I fear it’s not the JSON-2 one. Odoo requires only the endpoint (url) and API key however in n8n it asks for username and database name.

What is the error message (if any)?

Cannot connect: Settings are not valid: AxiosError: 400 - “\n\n400 Bad Request\n

Bad Request

\n

Session expired (invalid CSRF token)

\n”

Information on your n8n setup

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

The n8n Odoo node uses the older XML-RPC API, not the newer JSON-RPC 2 endpoint from v19. That CSRF error suggests authentication mismatch since the node expects username plus API key auth through XML-RPC.

Your service account likely does not have the right setup for XML-RPC access. Check if your Odoo instance still has XML-RPC enabled and verify the service account has proper authentication configured for that method. You may need to use HTTP Request node instead to hit the JSON-RPC 2 endpoint directly with just URL and API key.

ok great, this confirms the hypothesis. I just created a HTTP request node for now. It would be great if n8n updates the Odoo node to the new API as the old one will be deprecated scheduled fall 26