Better error message for route already existing.

[finishes #46942353]
Added user friendly error when a space is not empty
fix updating spaces through PUT /v2/domains

[finishes #46511975]