Using python SDK with Looker API.
Want to create new project in looker where I have an admin and developer role.
When I tried creating folder, it worked but I have SDK error when creating project.
it says:
Looker Not Found (404)
and bunch of html which says:
Looker is unavailable. If you typed in a URL, double-check the spelling. This may also be due to a temporary condition such as an outage, scheduled maintenance or upgrade.
I have an looker.ini:
api_version=4.0
base_url=https://<hostname>.looker.com
client_id=client_id
client_secret=client_secret
verify_ssl=True
also tried base URL with 443, but getting the same error. as I checked in documentation 404 error in looker might be because of a permission.
python code:
sdk = looker_sdk.init40()
sdk.create_project(body=mdls.WriteProject(name="test_project"))
Anyone has an idea what is the problem and how to fix it?