Updated crate_token KeyError information, and get_assigments function parameters fixed