Fix for response code 204 (instead of 200) and correction of one (of mul...

Fix for response code 204 (instead of 200) and correction of one (of multiple) wrong exception message generation.