Looker API Connection Test

Hi,

I am setting up the Looker API and followed the instructions to setup the SDK as shown here: 
https://github.com/looker-open-source/sdk-codegen/blob/main/python/README.rst
 

However, when I am using the test connection example, I am getting the following error: 

No module named 'sdk_exceptions' 

Can I please get some help on this? Also, can I get some clarification on what the base url should be? I am currently using:

https://companyname.looker.com:19999

Thanks

1 3 387
3 REPLIES 3

Can you share your full (actual) code please? With client id and secret redacted

@hamzak93 The trick is that the `sdk_exceptions` module is defined in the `examples` folder. So you should copy that file (`sdk_exceptions.py`) to your local project, alongside the `test_connection.py`.

naren2
Participant I

@hamzak93 The trick is that the `sdk_exceptions` module is defined in the `examples` folder. So you should copy that file (`sdk_exceptions.py`) to your local project, alongside the `test_connection.py`.

 I owe you a coffee 😄