added custom http response code for failed transaction on allocation update