It's the same way in the v2 API. There are other APIs doing the same thing too. Maybe a discussion for nova on the dev mailing list?
** Tags added: api ** Changed in: nova Status: New => Opinion -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to OpenStack Compute (nova). https://bugs.launchpad.net/bugs/1251538 Title: create/update of v3 servers return 422 when input is invalid Status in OpenStack Compute (Nova): Opinion Bug description: In v3 servers core api, create and update will return 422 when input is invalid. if not self.is_valid_body(body, 'server'): raise exc.HTTPUnprocessableEntity() We prefer use 400 for this case in v3 api. To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/1251538/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp