Survey banner
The Dataiku Community is moving to a new home! Some short term disruption starting next week: LEARN MORE

Delete Application instance from another project code recipe

Solved!
clayms
Level 3
Delete Application instance from another project code recipe

I can delete a Application Instance in another project without any issue from a Jupyter notebook.  However, when I run the exact same code in a python code recipe, I get the following error:

dataikuapi.utils.DataikuException: com.dataiku.dip.exceptions.UnauthorizedException: Failed to read project permissions

 

What do I need to do to allow a code recipe in one project delete an Application Instance in another project?


Operating system used: centos

0 Kudos
1 Solution
clayms
Level 3
Author

Found the issue.  I was using get_as_project() twice.  Removed that and the issue went away.

View solution in original post

0 Kudos
1 Reply
clayms
Level 3
Author

Found the issue.  I was using get_as_project() twice.  Removed that and the issue went away.

0 Kudos