How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

The Hidden CPI Bug: When One Record Isn't an Array Anymore

calendar_today September 24, 2026 person Mohan-Raj-M domain sap-bi-tools

Why a Single Item Breaks Your JSON Array in SAP CPI (and How to Fix It) The Problem If you’ve built a GET API on SAP Integration Suite (CPI) that returns arrays in the JSON response, you’ve probably run into this classic gotcha: When an element occurs multiple times in the XML, the XML to JSON Converter correctly turns it into a JSON array . When that same element occurs only once , the converter turns it into a plain JSON object instead of a single-item array. This is a huge problem for consuming applications (UI5 apps, external systems, mobile apps, etc.) because they typically expect a cons

open_in_new Read original post