The upload to google drive is changing mimeType

Describe the problem/error/question

I have a workflow that generates an Excel file in Python and uploads it to Google Drive, and everything was working perfectly. After updating to version 1.53.1 and configuring the N8N_DEFAULT_BINARY_DATA_MODE variable to ‘filesystem’, I started having this issue where my .xlsx file appears as a zip file in Google Drive.

What is the error message (if any)?

This printout shows the reported issue: notice that the file reader returned an xlsx file with the correct mimetype, but the upload response indicates that it was uploaded as a zip file.

File used

To simulate the problem, you should use this xlsx file.

Information on your n8n setup

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

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