SDKError: Missing required configuration value: base_url

  • 26 October 2021
  • 2 replies


I am trying to connect to looker APIs through Jupyter Notebook and python with the following code: 

import looker_sdk

sdk = looker_sdk.init40()

But I receive a SDK Error saying that “Missing required configuration value: base_url”

Anyone has an idea how to solve this?


Best answer by Lan 26 October 2021, 14:18

View original

This topic has been closed for comments

2 replies

Userlevel 4

Hi @mehrnaz.akbari-1632741833 , you would need to authenticate using an `ini` file or use environment variables. From reading the error, it seems that neither has been set up yet.

You can take a look at one of my example jupyter notebooks here to see how to use environment variables

Thanks @Lan. I used your github link and it helped to solve the error :relaxed: