HTTP/1.1 400 Bad RequestContent-Type: application/json
X-Kinvey-Request-Id: 5b9a79b96b88492db45846759e91b75a
X-Powered-By: Express
{"error":"JSONParseError","description":"Unable to parse the JSON in the request","debug":"incoming request body is not an [object Object]: [object Array]"}
Best Answer
P
Pranav J
said
over 3 years ago
Michael,
Kinvey allows only a single entity to be created at a time. For bulk upload, see the CSV/JSON import feature on the Kinvey console (navigate to the collection, click Settings, then click Import Data). Check Datastore Create.
Thanks,
Pranav
Kinvey
1 Comment
P
Pranav J
said
over 3 years ago
Answer
Michael,
Kinvey allows only a single entity to be created at a time. For bulk upload, see the CSV/JSON import feature on the Kinvey console (navigate to the collection, click Settings, then click Import Data). Check Datastore Create.
Michael Vowles
Hi,
I am having trouble using the API Console to POST an array of Collection entities. For example the following JSON body will work:
Request
Response
However if I want to POST an array of objects it doesn't work:
Kinvey allows only a single entity to be created at a time. For bulk upload, see the CSV/JSON import feature on the Kinvey console (navigate to the collection, click Settings, then click Import Data). Check Datastore Create.
Thanks,
Pranav
Kinvey
Pranav J
Kinvey allows only a single entity to be created at a time. For bulk upload, see the CSV/JSON import feature on the Kinvey console (navigate to the collection, click Settings, then click Import Data). Check Datastore Create.
Thanks,
Pranav
Kinvey
-
My columns disappeared from the databrowser
-
Api console with query body
-
Users being imported
-
How to delete a archived project?
-
Console Logs still lock up
-
Collections Do Not Get Destroyed
-
Importing Large Data Sets
-
Upload public image through console
-
Unable to download or delete added FIles
-
Bug: Using API Console to list entities error
See all 124 topics