KeyError when searching for assignments

221
0
03-30-2023 12:26 PM
Labels (3)
RamonBatista
New Contributor

I found this error in a python script that is working, but when accessing one of the Workforce projects and perform the search for it return Keyerror 9

RamonBatista_0-1680204060479.png

RamonBatista_1-1680204096221.png


The project is from the classic WOrkforce, and what I know they did was delete a dispatcher who had ObjectID 9 the strength of the dispatcher table.

Someone knows how I could solve this one without having to dive deep into the search function.

The script accesses several classic Workforce projects present in the portal and for all others it works normally

0 Kudos
0 Replies