Survey123 Error: Failed to Parse

706
1
12-15-2021 05:01 PM
by Anonymous User
Not applicable

I am using a survey and feature report that I have used a version of many times and suddenly am receiving the following error:

Error: An error occurred when checking the report template. Failed to parse ${closeupimage|size:0:350} since closeupimage cannot be found in the current parsing scope.

I have checked and checked again that the tag matches in my XLS spreadsheet and in the feature report (see attached photos). Is there something I am missing?

Tags (2)
1 Reply
BarbaraWebster1
Esri Regular Contributor

Hi @Anonymous User,

It looks like the if_photo_closeupimage question is in a nested repeat, so you would need to add a repeat start tag before the if_photo_closeupimage question and a repeat end tag after the second Figure # line.

Since one of the questions in the Figure # line is coming from the parent repeat, you would reference that question with [parent repeat name].[question name].

I added those changes to your screenshot in purple below.

BarbaraWebster1_0-1639790070790.png

Thanks,
-Barbara

0 Kudos