Correct "internal error" object.
Correct error response if "id" was not set in "set" method.