We have extended our Early Bird Tickets for Inspire 2023! Discounted pricing goes until February 24th. Save your spot!

Alteryx Designer Knowledge Base

Definitive answers from Designer experts.

GCSE-257: Error: 404 Not Found when Python tool is added after a Detour tool where it is not on the default path

clarab
Alteryx
Alteryx
Created

Error: “404: Not Found”

 

Environment Details

 

Python tool will not load Jupyter notebook if the Detour tool is used and the path is diverted to another path where the Python tool is not on by default.

  
404: Not Found
You are requesting a page that does not exist!
 
image.png
  • Alteryx Designer
    • Version(s):  2019.x, 2020.x, 2021.x



 

Cause

 

GCSE-257/TDALI-4199 has been logged to address this behaviour.



 

Resolution

Solution A: If you only have Python tool in either path of the Detour tool


Steps:
1. Note down the tool Id of the Detour tool in Designer.
2. Open the workflow in a text editor.
3. Change the Detour tool to route to the path where the Python tool is.

Example:
If the Python tool is on the left route, please change the DetourRight value to false.

            <Configuration>
              <DetourRight value="False" />
            </Configuration>


If the Python tool is on the right route, please change the DetourRight value to true.

            <Configuration>
              <DetourRight value="True" />
            </Configuration>


4. Save the changes.
5. Open the workflow in Designer. The Jupyter Notebook should be loaded for the Python tool now.
6. Change the Detour tool back to its original detour path.



Solution B: If you have Python tool in both left and right paths of the Detour tool


Steps:
1. Open the workflow in Designer first. This will create the Jupyter Notebook document for the Python tool on the selected path of the Detour tool.
2. Note down the tool Id of the Detour tool.
3. Close the workflow in Designer without saving. Do NOT close the Designer so that the loaded Jupyter Notebook document will not be cleared.
4. Open the workflow in a text editor and search for the tool Id of the Detour tool. Use this search string:

<Node ToolID="REPLACE_ME_WITH_TOOLID">

Example
<Node ToolID="21">

This will return:
    <Node ToolID="21">
      <GuiSettings Plugin="AlteryxBasePluginsGui.Detour.Detour">
        <Position x="1254" y="738" />
      </GuiSettings>
      <Properties>
        <Configuration>
          <DetourRight value="False" />
        </Configuration>


5. Change the Detour tool to route to the non-selected path.

Example:
If the current value of DetourRight is "False", change the DetourRight value to "True".

From:
            <Configuration>
              <DetourRight value="False" />
            </Configuration>

To:
            <Configuration>
              <DetourRight value="True" />
            </Configuration>


If the current value of DetourRight is "True", change the DetourRight value to "False".

From:
            <Configuration>
              <DetourRight value="True" />
            </Configuration>

To:
            <Configuration>
              <DetourRight value="False" />
            </Configuration>


5. Save the changes.
6. Open the workflow in Designer again. The Python tool will load the Jupyter Notebook for the one in the earlier non-selected path now. The other Python tool (in the earlier selected path) will be loaded as well. 
7. Change the Detour tool back to its original detour path in Designer. 

Additional Resources