Replies: 1 comment
-
This is not supported. You can however create your own endpoint to allow for bulk creation |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have created a custom collection.
I am trying to use the REST API to bulk create the records.
I am sending the request body as an array
Tried this
{ "data": [ { "subject": "A125", }, { "subject": "A126", } ] }
& this
[ { "subject": "A125" }, { "subject": "A126" } ]
In both cases, I got the following error
{ "errors": [ { "name": "ValidationError", "data": { "collection": "headlines", "errors": [ { "label": "Subject", "message": "This field is required.", "path": "subject" } ] }, "message": "The following field is invalid: Subject" } ] }
Beta Was this translation helpful? Give feedback.
All reactions