Error "Code env not usable"

Hi everyone,
A project I created is currently shared with other users in my department as an application, allowing them to instantiate the project. They can run it, but they are not able to make any changes to the flow or the recipies within.
After setting a new code env in my project, when a colleague of mine tries to update their instance, they now get this error:
I have the impression their instance doesn't have access to this new code env, preventing the update. What would be the best approach to make this work?
Thank you!
Operating system used: Win11
Answers
-
Hello,
Looks like your bundle is pointing to a Python code environment that the target project can’t use yet.
Quick question — how are you deploying this?- Is it an Application-as-a-Project on the same instance?
- Or a bundle going through the Deployer to another instance/Automation node?
- On the target side, does that code env already exist and have “usable by this project” permissions?
Once we know that, we can figure out whether it’s just a permissions tweak or if you need to remap/build the env during deployment.
Regards
Islam
-
Hi Islam,
I think it is the first option. I am sharing my project by making it available to others as an application using the "Application Designer". As far as I understand, every user has their own instance of this project.
Regarding your last point…
On the target side, does that code env already exist and have “usable by this project” permissions?
Can you tell how to check this?
Thanks for having a look at this issue.
Helge
-
Hey Helge, sorry for the late reply — I don’t check my email very often 😅
Regarding the issue: it looks like your code environment is set up to be usable only by a specific user or group, which is likely why others can't access it in their instances.
Could you double-check the permissions on the code environment? Specifically:- Who can use it
- Who can modify it
- Whether it’s shared with the application/project instances properly
Let me know if you need help walking through it!