Skip to content

UI Error when filtering workflows by clicking on a tag: "Parsed filter does not fit the schema" #24427

@gexin920

Description

@gexin920

Bug Description

Error fetching workflows
Parsed filter does not fit the schema

Describe the bug: When attempting to filter workflows by clicking on a tag (chip) in the dashboard, the application throws a toast error: Error fetching workflows: Parsed filter does not fit the schema. This suggests a mismatch between the filter payload sent by the frontend and the validation schema expected by the backend API.

To Reproduce

To Reproduce:

Navigate to the Workflows list (/home/workflows).

Identify a workflow that has tags assigned (e.g., "orders").

Click on the tag chip displayed on the workflow card.

Result: The UI shows a loading state briefly, then fails with the toast error: Parsed filter does not fit the schema.

The list is not filtered, or enters a broken state.

Expected behavior

Expected behavior: Clicking a tag should strictly filter the workflow list to show only items containing that tag, matching the backend schema requirements.

Debug Info

Additional Context:

This appears to be a backend validation error (likely Zod or similar) rejecting the query parameters generated by the frontend.

I have tried clearing browser cache/cookies to rule out frontend asset caching issues, but the issue persists.

Operating System

Ubuntu 24.04

n8n Version

2.3.5

Node.js Version

22

Database

PostgreSQL

Execution mode

main (default)

Hosting

self hosted

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions