diff --git a/clientapi/routing/register.go b/clientapi/routing/register.go index c9e03fed7..c2a44c854 100644 --- a/clientapi/routing/register.go +++ b/clientapi/routing/register.go @@ -531,7 +531,7 @@ func Register( if err != nil { return util.JSONResponse{ Code: http.StatusBadRequest, - JSON: jsonerror.BadJSON("Unable to read request body"), + JSON: jsonerror.NotJSON("Unable to read request body"), } }