โ04-20-2022 03:16 AM
Hi,
Getting below expression error in mapper after join snaps:-
Expression worked for 7 previous documengts, but failed on document #8 with the error: $[โ$โ] is undefined
Solved! Go to Solution.
โ04-20-2022 10:39 AM
This error will occur if the key "$"
does not exist in your 8th document. You can either:
$.get('$')
which will effectively produce a null
value for $['$']
downstreamnull
value (but also applies null-safe to all the fields in your mapper).โ04-20-2022 05:17 AM
You cannot use that expression. Thatโ basically means โGet root from rootโ, or something like that, and is not valid. I know that your field is called โ$โ so a smart thing to do is first to remap the field.
โ04-20-2022 10:39 AM
This error will occur if the key "$"
does not exist in your 8th document. You can either:
$.get('$')
which will effectively produce a null
value for $['$']
downstreamnull
value (but also applies null-safe to all the fields in your mapper).