Submit your use case or success story to the 2023 edition of the Dataiku Frontrunner Awards ENTER YOUR SUBMISSION

Conneting dataiku to VS Code using Dataiku DSS extension

Solved!
raghutej
Level 2
Conneting dataiku to VS Code using Dataiku DSS extension

Hello, 
I am trying to use VS Code editor for editing python recipe code.

I followed instructions mentioned below and create config.json file with url & api key, but i am not able to see any projects.

  • Through configuration file. Create or edit the file ~/.dataiku/config.json (or %USERPROFILE%/.dataiku/config.json on Windows), and add the following content:

{
  "dss_instances": {
    "default": {
      "url": "http(s)://DSS_HOST:DSS_PORT/",
      "api_key": "Your API key secret"
    }
  },
  "default_instance": "default"
}

When i refresh projects in VS code i get an error - "Dataiku DSS: unable to verify the first certificate"
Could you please guide me with steps to resolve this?

0 Kudos
1 Solution
imanousar
Level 2

Try this:

{
  "dss_instances": {
    "default": {
      "url": "http(s)://DSS_HOST:DSS_PORT/",
      "api_key": "Your API key secret",
      "no_check_certificate": true
    }
  },
  "default_instance": "default"
}

View solution in original post

0 Kudos
2 Replies
imanousar
Level 2

Try this:

{
  "dss_instances": {
    "default": {
      "url": "http(s)://DSS_HOST:DSS_PORT/",
      "api_key": "Your API key secret",
      "no_check_certificate": true
    }
  },
  "default_instance": "default"
}
0 Kudos
raghutej
Level 2
Author

That worked. Thank you.

0 Kudos