Google Sheets error - Column names were updated after the node's setup

Happy upcoming 2025 to everyone

Describe the problem/error/question

Every time after changing the order of columns in “Mapping Column Mode” → “Map Automatically”, I get this error from google sheets.

In old versions of google sheets in Map Automatically mode there was no such error, always when adding new columns, the system did not rely on a specific order of columns, but found and filled columns based on column names as keys, and filled exactly these columns, and if there were no such keys, it added them.

When exactly this order was knocked down I do not understand, but now it is absolutely difficult to work, because when customizing I often remove renamed, change the order or delete columns.

What is the error message (if any)?

Column names were updated after the node’s setup
Refresh the columns list in the ‘Column to Match On’ parameter. Updated columns: profilePicUrlHD → igtvVideoCount, igtvVideoCount → postsCount, postsCount → businessAddress, businessAddress → error, error → isRestrictedProfile, isRestrictedProfile → restrictionReason, restrictionReason → profilePicUrlHD

version of Google Sheets node - 4.5

Information on your n8n setup

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

Hi @lightcom,

Thanks for bringing this up!
Do you also see the error if you don’t have any column without content in the header? As in, unnamed?

I only see this error when changing column positions or adding a new column.

n8n 1.77.0 - error still not resolved

Column names were updated after the node’s setup
Refresh the columns list in the ‘Column to Match On’ parameter. Updated columns:

version of Google Sheets node - 4.5

I’m also experiencing this issue, even if I don’t change the columns. Any idea what is happening here?

This is due to changes in the work of Google Sheets node if the columns often change in the document,
I recommend as a temporary solution to change the version of the node from 4.5 to 3.0.

{
“parameters”: {
“authentication”: “”,
“operation”: “append”,
“documentId”: {
},
“sheetName”: {
},
“columns”: { “matchingColumns”: , “schema”: [ ], “attemptToConvertTypes”: false,
“convertFieldsToString”: false
},
“options”: {}
},
“id”: “fghgfh”,
“name”: “Google Sheets8”,
“type”: “n8n-nodes-base.googleSheets”,
“typeVersion”: 3,
“position”: [
3200,
-520
],
“credentials”: { “googleApi”: { }
}
}
],
“connections”: {},
“pinData”: {},
“meta”: {
“templateCredsSetupCompleted”: true,
“instanceId”: “”
}

now i have 1.80.2 issue still not resolved. In old versions of n8n

Maybe @ria helps us

In old versions of node google sheets in n8n automatic data entry did not depend on the order of columns. And it was a perfect solution. now anytime you change columns in a sheet, the script gives an error, It’s super not convenient and negates the stable work.

I ran into this error again today. It is very inconvenient to go to the workflow scenarioevery time after changing columns and manually rescan the columns.

Hi @lightcom , @adamchu22

Thanks for the extra info!
I’ve created an internal ticket to take a look at this and fix it. We’ll update you once it’s released.
For now the workaround continues to be refreshing the columns list in the node to have it match the new G.Sheets params.

@adamchu22 you mentioned you see this even if you don’t edit the columns’ names. Are you seeing the error from the first set-up?
Can you share what your use case? It could be something else

1 Like

It makes impossible to use the workflow for multiple sheets. In my case, the sheetId is dynamic and passed as an argument into the workflow, so the same workflow is used to write rows in different sheets with different schemas.
I expected that “Map Automatically” means that it reads the columns of the sheet during runtime, but as I see now, it caches them during build time and tries to reuse whatever cached schema independently of the actual sheet referenced by sheetId.
Hope it will be fixed soon! thanks!

Yes, It has always worked this way before, any sheet with auto-transfer functionality will pass any keys and values, check my workaround with downgrade node (in any editor, like notepad) **“typeVersion” ** to 3 (from 4.5), it might be ok with you

2 Likes

Thanks, Andrey! It works as expected with typeVersion: 3!

1 Like

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