Hi, I’m trying to determine whether there are any errors in a list in the connector (V33.5). I have decorated a JSON file as
'data': {
'refundCreate': {
'userErrors': list {
'message': text
}
}
}
and would like to know whether there are any error messages and if so which. There is no other way to determine this, unfortunately.
I’ve tried to switch on the list
as you would in the application language, but without luck. I’ve also tried .size
, but that does not seem to work either. What options do I have to know the size of the list?