correctly pass args[0] for ValueError -> BadRequest