Try to warn when API key isn't a string

r? @metcalf