Removed special handling for BAD_REQUEST and CONFLICT. Use ErrorCode form server.