The API Designer does not support sparse (non-contiguous) arrays

Introduction

All tables (arrays) passed to or returned from API Designer function calls need to be contiguous (must not contain any nil elements).

This is because the functions created by the API Designer use HTTPS — and HTTPS does not support sparse arrays (tables with nil elements).

Issue [top]

The API Designer creates HTTPS functions that do not support sparse (non-contiguous) arrays.

Solution [top]

Do not use any nil elements in arrays when calling HTTPS functions created by API Designer.

Leave A Comment?