Skip to content

[BUG] Creating documents fails for parent documents #514

@jackstefansky

Description

@jackstefansky

Creating parent documents does not work. In my case, I could not create a document that has a parent that was an array of embedded documents. The return

Executing POST request in postman with following json body
{ "parentDocument": "5f466be4c5505", "parentProperty": "travels", "parentPropertyType": "append", "data": { "locations": [] } }

resulted in

{ "message": "Bad structure. Invalid document structure: Unknown property \"locations\" type. Make sure to follow users collection structure", "code": 400, "version": "0.6.2" }

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions