URGENT: Cant adjust MIME TPYE from binary/octet-stream

I’m trying to upload an MP4 video to WhatsApp Business Cloud in n8n, but the MIME type is set as binary/octet-stream, and WhatsApp rejects it. How can I change the MIME type to video/mp4 within n8n? I tried using Set and Edit Fields nodes but couldn’t find an option. Any workaround?
Chekc the screenshot. This is the way I receive the file.

This is my workflow.

  • n8n version: 1.69.2
  • Database (default: SQLite): QLite
  • n8n EXECUTIONS_PROCESS setting (default: own, main): own, main
  • Running n8n via (Docker, npm, n8n cloud, desktop app): self-hosted in google cloud
  • Operating system: Windows10

You can try using a Code node for that:

.

:muscle: If my reply answers your question, please remember to mark it as a solution.

4 Likes

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