I fought this exact mixed JSON structure issue in Cache last week! The trick is a pre-check with \(ISOBJECT/\)ISARRAY before your iterator loop to normalize both formats first. I wrote a quick utility block that converts the error object variant into an array so one single iterator can handle every error entry without separate logic blocks. If you want I can share the snippet I used to standardize the payload shape.
- Log in to post comments