Hello,
I have been experiencing some weird behavior when generating reports from a custom template in Survey123. My survey has a repeat question for inspection photos with photo captions. In the report template, I pull those photos into a table. Here is the report syntax:

Sometimes, the report generates fine and all photos are pulled into the report. However, sometimes I find that a particular photo is missing from the template. I new table row is created and the caption is printed for the photo, but the table cell for the photos is just blank. This seems to most frequently happen with the first photo/record of the repeat. I end up having to copy/paste that one photo into the report by accessing the record through the Survey123 web interface.
I wish it was at least consistent, because then it would be easier to troubleshoot! But has anyone else experienced this behavior before? Any ideas what might be causing it to happen?