Using Pull Data to Pull Data from Repeat Groups Workaround

Hi @stephanealoo
Thanks for the answer, I have pasted that but did not work either, there were more brackets than needed, if it goes for 20 cases at most, it should be 20 brackets at the end, it is like nested if’s.
I have fixed that and worked to pass the first error, but I got something that I have never seen as in the picture

whenever I do the pulling, I get this message as I open the form, I have checked and found something like that pasted by someone from the community but there were no solution, I hope you do help me with passing this issue. it looks like KOBO does not recognize the media file that been uploaded whenever I do the if(pulldata) thing, as I remove it, the form just work fine.
Any idea about it ?
thanks