Creating An Express API With An Array Element Is Not Valid (Doc ID 2266002.1)

Last updated on MAY 15, 2017

Applies to:

Mobile Cloud Service - Version 16.3.3 and later
Information in this document applies to any platform.

Goal

When an Express API that contains a JSON item that has an array is created, an error message is displayed stating that arrays are not allowed:

There's a problem with your sample data.

We detected a field "items" that's an array
Express API and MAX don't support array field
types. Edit your sample data to remove all array
fields and try again

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms