Skip to content

Bug: Insert fails with JSON content containing empty array #2497

@DMCTowns

Description

@DMCTowns

Using the current 'latest' Docker image (as of 10 Sep 2025)

Inserts containing JSON content with an empty array fail:

INSERT INTO DataCollectionEntity CONTENT {"type":"DOCUMENT","attributes":[],"created":"2025-09-10T14:40:14.723Z","amended":"2025-09-10T14:40:14.723Z","id":"119463d6-9b69-415c-94bc-9629e92d6560"}

Gives the server error:

SEVER [PostCommandHandler] <ArcadeDB_0> Error on serializing element (error=%s)

With the empty 'attributes' array removed it works fine:

INSERT INTO DataCollectionEntity CONTENT {"type":"DOCUMENT","created":"2025-09-10T14:40:14.723Z","amended":"2025-09-10T14:40:14.723Z","id":"119463d6-9b69-415c-94bc-9629e92d6561"}

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions