I'm attempting to post a large number of records (2000-ish) to Dropbox via the Datastore JS API. I'm getting this error:
POST https://api12.dropbox.com/1/datastores/put_delta 400 (Bad Request)
...and it references: api12.dropbox.com/1/datastores/put_delta:1
That's not a lot of info to use when debugging, but I'm guess it's because I'm over the size limit.
Any ideas how I can fix this or at least debug it further?
Update
I used the XHR inspector in Chrome to get this response:
{"error":
{
"size_limit": "Error: put_delta of delta (size 4138335) exceeds size limit 2097152 bytes",
"object_type": "delta",
"limit": 2097152,
"size": 4138335
}
}
POSTwill be in my app. Is there a way for me to break up the request into chunks? Is there a way to "sync" periodically like there is in the iOS SDK to keep the request size down?