Select to view content in your preferred language

Unable to find ItemInfo for item

1782
3
05-21-2019 05:11 AM
NikolajGrønholdt
Esri Contributor

I am experiencing a problem, when trying to use content.get(some item.id), in a script that indexes all the content of a Portal 10.7. When I run the script, It returns an error stating: 

RuntimeError: Unable to find ItemInfo for item 'some id' (Error Code: 500)

It don't quite understand it, given that I have retrieved the id through content.search. So the item should be available on my portal. 

Anybody who can point me in the direction for figuring this out?

3 Replies
MarisaClaggett
Frequent Contributor

Hi,

Do you have a snippet of the python you are using?  Can you manually look up that item id in your Portal?  What is the item type?

Best of luck,

Marisa

0 Kudos
NikolajGrønholdt
Esri Contributor

Hi Marisa, 

I experienced the error first in a quite complex loop, so I thought that it was a syntax problem. However, the error occurs even when using a simple gis.content.get("id"). The id that my script returns is 9b39c07049f64494ad8514d88aeadbc2, if it is of any interest. 

I have since tried searching for it in the Portal as well, and it returns an item created by Esri (Screenshot below). When I try to access it by clicking view item details, my browser gets stuck loading the item details page. 

0 Kudos
ChelseaRozek
MVP Regular Contributor

I'm having the same issue. I seem to have a corrupted webmap item that doesn't load the item details page and I can't access through Python (says unable to find iteminfo for item 'ID#'). Looks like this in my content:

ChelseaRozek_0-1725037835250.png

Were you able to resolve your issue before? I can't even delete it as it says it is either delete protected or has dependent items but I can't get in to check.

0 Kudos