Sign up to take part
Registered users can ask their own questions, contribute to discussions, and be part of the Community!
Registered users can ask their own questions, contribute to discussions, and be part of the Community!
Hi, I am trying to read a pkl file from a managed folder using the python API.
client = dataikuapi.DSSClient("http://localhost:11000", "<api key>")
folder = dataikuapi.dss.managedfolder.DSSManagedFolder(client,
project_key='<project_key>',
odb_id='sQ8piu1r')
contents = folder.list_contents()
I am getting this error. Can you please support?
DataikuException: com.dataiku.dip.exceptions.UnauthorizedException: Failed to read project permissions
Hi @RohitRanga
Usually, this error is being returned if you incorrectly pass over the project key. Can you please make sure that the project key (not the project name as you see it on the UI) is passed as the parameter?
Hi @RohitRanga
Usually, this error is being returned if you incorrectly pass over the project key. Can you please make sure that the project key (not the project name as you see it on the UI) is passed as the parameter?
@sergeyd Thanks for the prompt support! yes it was an issue with the project key indeed.
I assigned the project key as MYPROJECT by looking at the url:
localhost:11000/projects/MYPROJECT/