fix: raise DRF-compatible exception for configuration errors
ValueError has no built-in handling in DRF causing it to return an HTML error page. This is unfortunate for clients that expect a JSON error object like the dashboard.
ValueError has no built-in handling in DRF causing it to return an HTML error page. This is unfortunate for clients that expect a JSON error object like the dashboard.