Added proper BAD_REQUEST handling to POST command
snapshot deploy