Connecting to Looker via api

  • 17 July 2022
  • 0 replies

I am new to looker API. I am trying to connect to looker to extract metadata information using looker API in python.

I have written the required code and generated the API3 keys in admin>user tab client_id and client_secret and provided the details in looker.ini file.

But when i run the code its giving me the below error.

looker_sdk.error.SDKError: b"HTTPSConnectionPool(host='', port=19999): Max retries exceeded with url: /api/3.1/login (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x000001DF2278BA00>: Failed to establish a new connection: [WinError 10061] No connection could be made because the target machine actively refused it'))"

Can anyone please help me to resolve this error.

This topic has been closed for comments