Bug: error code read from incorrect field name in JSON error descriptions.
Tests expecting API errors to be thrown should assert on API error code rather than HTTP status code.