A possible reason would be that the keys name are different. The following has:
google_api_key = CONFIG["google_api_key"]
but the key defined in the config is
google_api_keys
i.e., google_api_key with an extra 's'