Handle XHR while changing party #6142

return 'The party is not valid', 400