diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index bcba3836..3d2455af 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -65,6 +65,6 @@ def missing_parameter(exception) end def invalid_record(resource) - render json: resource.record.errors, status: :unprocessable_entity + render json: resource.record.errors, status: :unprocessable_content end end