I'm using Alteryx Designer 2022.1 and have started writing Python code. All seemed okay at first, but what I'm noticing is that when I either copy and paste the code to make changes while saving the original code, or saving and re-opening the workflow, all the code is gone from the Python tool or I get the following:
This is highly disappointing. The following article says this was fixed in 2021.3 so why am I still seeing it in a newer version?
DE33677: Jupyter Notebook 404 Not Found Error - Alteryx Community
Has anyone else run into this problem and what is the fix?
Regards,
Neil
Are you using AMP Engine?
In the same link that you have shared, it has a "solution":
Before the Error occurs:
Using Production Mode will avoid getting the 404 Error (if you need to use AMP). When making edits to your code, you can go back to Interactive Mode but make sure to switch back from Interactive to Production Mode when you want to run the workflow.
Try these but you should open a case (in the support page).
Hi @NeilFisk
There are a couple of bits on the community that may help, seems to still be an ongoing issue for a lot of users:
I've tried almost everything as described in the discussions. I've turned off AMP and had a simple code that worked, saved the file, and upon re-opening GONE. They should delete the tool if it doesn't work as intended. At this point, I have to step outside of Alteryx and use something that works.
Hi @NeilFisk , The best solution to this is to wrap python code into a macro and make sure the macro that contains python code is locked (Please keep a copy of the original workflow/macro, because once it is locked we would not be able to open it again). Now use the locked macro in your workflow.