throw an error if a requested token does not exist