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?
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.