redash icon indicating copy to clipboard operation
redash copied to clipboard

500 error returned when creating query with long name

Open ryanwdale opened this issue 4 months ago • 0 comments

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

ryanwdale avatar Jul 14 '25 20:07 ryanwdale