dataikuapi.utils.DataikuException: com.dataiku.dip.exceptions.UnauthorizedException: Failed to read
DGarg
Registered Posts: 1 ✭
from dataikuapi import DSSClient
import pandas as pd
client = DSSClient(host, apiKey)
client._session.verify = False
instance = client.get_app("<< Application Name >>").create_temporary_instance()
project = instance.get_as_project()
project.get_scenario("<< Scenario Name >>").run_and_wait()
Giving error while using scenerio
Answers
-
Alexandru Dataiker, Dataiku DSS Core Designer, Dataiku DSS ML Practitioner, Dataiku DSS Adv Designer, Registered Posts: 1,212 Dataiker
Hi @DGarg
,
Can you confirm the exact error you are seeing? The code itself seems fine
with instance as client.get_app("myapp").create_temporary_instance() as inst:
inst.get_as_project().get_scenario("xxx").run_and_wait()