n8n · Code node

A 'json' property isn't an object

Short answer

This n8n Code node error occurs when the node returns data where the json key does not point to an object. Make sure that the json key references an object in your return data.

VerifiedLast verified

01Error text

n8n error
A 'json' property isn't an object

02Likely causes

  • The json key is set to a different data structure, like an array.

03How to fix it

  1. Make sure that the json key references an object in your return data.

04Official documentation

Test every fix in a non-production environment before you apply it to production. See how entries are verified.

More for n8n work:Open n8n jobsn8n rates and salaries

The iPaaS Brief

Subscribe to The iPaaS Brief.

The iPaaS newsletter for the people who run integrations. From iPaaS Group.

Free. You finish on theipaasbrief.com and confirm by email.