The “KeyError” message typically means that somewhere in your code, you’re not using the dictionary when you ought to.