Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.

Alteryx Server Discussions

Find answers, ask questions, and share expertise about Alteryx Server.

/admin/V1/workflows/jobs outputs Tool #698: Traceback ... error message

jsprh
7 - Meteor

I've been using the /jobs endpoint to monitor my scheduled workflows. It has begun to throw me the error message shown below. Does anyone have any clue as to why this has begun happening?

 

Start: Designer x64: Started running C:\ProgramData\Alteryx\Engine\Staging\6aa8f593-8c24-4b4b-b785-17f9dc66de8a\Alteryx monitoreringsværktøj V2.yxmd at 01/08/2024 11:07:06
Error: Server API (1): Tool #698: Traceback (most recent call last):
File "C:\Program Files\Alteryx\bin\Miniconda3\envs\DesignerBaseTools_venv\lib\site-packages\pandas\core\indexes\base.py", line 2889, in get_loc
return self._engine.get_loc(casted_key)
File "pandas\_libs\index.pyx", line 70, in pandas._libs.index.IndexEngine.get_loc
File "pandas\_libs\index.pyx", line 97, in pandas._libs.index.IndexEngine.get_loc
File "pandas\_libs\hashtable_class_helper.pxi", line 1675, in pandas._libs.hashtable.PyObjectHashTable.get_item
File "pandas\_libs\hashtable_class_helper.pxi", line 1683, in pandas._libs.hashtable.PyObjectHashTable.get_item
KeyError: 1

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\ProgramData\Alteryx\Engine\Engine_3276_cef1a196adff462db086a356ad4b1632_\ef736420a7b2443fbfca3afdb2e6544f\workbook.py", line 238, in <module>
Alteryx.write(successDF,1)
File "C:\Program Files\Alteryx\bin\Miniconda3\envs\DesignerBaseTools_venv\lib\site-packages\ayx\export.py", line 87, in write
return __CachedData__(debug=debug).write(
File "C:\Program Files\Alteryx\bin\Miniconda3\envs\DesignerBaseTools_venv\lib\site-packages\ayx\CachedData.py", line 428, in write
coltype = str(pandas_df.dtypes[index])
File "C:\Program Files\Alteryx\bin\Miniconda3\envs\DesignerBaseTools_venv\lib\site-packages\pandas\core\series.py", line 882, in __getitem__
return self._get_value(key)
File "C:\Program Files\Alteryx\bin\Miniconda3\envs\DesignerBaseTools_venv\lib\site-packages\pandas\core\series.py", line 991, in _get_value
loc = self.index.get_loc(label)
File "C:\Program Files\Alteryx\bin\Miniconda3\envs\DesignerBaseTools_venv\lib\site-packages\pandas\core\indexes\base.py", line 2891, in get_loc
raise KeyError(key) from err
KeyError: 1

End: Designer x64: Finished running Alteryx monitoreringsværktøj V2.yxmd in 28,1 seconds with 1 error and 2 warnings

 

0 REPLIES 0