Switch route not running when supposed to

Describe the problem/error/question

Hi,

I’ve set up a switch to run certain routes depending on the input binary file’s MIME type. However, for the PPTX route below, it doesn’t seem to run even though the condition is met, and instead goes to the fallback route.

Is there anything wrong here?

Thank you!

Information on your n8n setup

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

Check if you have any spaces in the value, try copying and pasting from the actual value again. Here is mine:

And the workflow, just in case:

2 Likes

You were right, I had one extra space in the binary.data.mimeType box to the left of the ‘{{’.

Thanks!

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