Error creating variable for dashboard

Getting the below error, when we try to add a new variable to the dashboard

Enterprise V 9.5.17

Latest Activity Performed : Security Patch for Grafana 9.5.17 to resolve security Vulnerability CVE-2024-1442 - 10May24
Last Upgrade Performed : Upgrade Production-Grafana from 9.2.0 v to 9.5.17 - 5Apr24