Skip to content

500 error returned when creating query with long name #7478

@ryanwdale

Description

@ryanwdale

Issue Summary

A 500 error is returned when creating a query with a name longer than 256 characters

Steps to Reproduce

  1. Navigate to the page to create a query
  2. Set the query name to this phpsystemXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXCCX
  3. Save the query

This returns a 500 error, it should return a 400 error since it is an error due to invalid input being passed by the user.

Technical details:

  • Redash Version: 25.1.0
  • Browser/OS: Firefox/MacOs
  • How did you install Redash: Self hosted from source code on ECS

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions