I'm having trouble pulling data from a feature layer in AGO into my survey123 connect using a barcode to get the where clause value. When I hard code the id into the where clause rather than referencing it by the barcode variable, it pulls the JSON from AGO. I've added checks into the survey and the where clause that is built using concat() to combine the query with the value from the barcode appears the same as when I hard code the value. Attached is an example from my xlsform.
I tested the survey on my iPhone and scanned a barcode on the computer screen that I created using a free online generator:
Any ideas why the barcode is not working for pulling the feature layer JSON?
Thanks!