When I try to parse this JSON:
"error": "Unable to parse the JSON in the request"
As a security measure, some frameworks won't parse top-level arrays as JSON. Doing so enabled exploits in some older browsers.
The exploit goes something like this:
Array with a function that stores its contents to some other variable.
In your malicious site, include a request to some privileged (JSON Array) resource on another server using a
Trick a user with privileges on that server into visiting your site.
The requested resource will be pulled from the benign server, loaded in the user's browser as a script, and evaluated— but the array gets handled by your malicious substitute function, which you can use however you like. A form of cross-site request forgery.
Regarding the question, "how do I upload multiple entities to a Kinvey collection?", the answer is in the Kinvey documentation:
"For bulk upload, see the CSV/JSON import feature on the Kinvey console (navigate to the collection, click Settings, then click Import Data)."