Delete Application instance from another project code recipe
clayms
Registered Posts: 52 ✭✭✭✭
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
Best Answer
-
Found the issue. I was using get_as_project() twice. Removed that and the issue went away.