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<SPAN class="punctuation token">:</SPAN> Unable to find ItemInfo <SPAN class="keyword token">for</SPAN> item <SPAN class="string token">'some id'</SPAN> <SPAN class="punctuation token">(</SPAN>Error Code<SPAN class="punctuation token">:</SPAN> <SPAN class="number token">500</SPAN><SPAN class="punctuation token">)</SPAN><SPAN class="line-numbers-rows"><SPAN></SPAN></SPAN>
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?