Open dcrissman opened 9 years ago
How big is the data? POST has implementation dependent size limits.
On Thu, Mar 5, 2015 at 8:15 AM, Dennis Crissman notifications@github.com wrote:
data.json contains 87623 records, so I might expect a error related to too much data, but instead I get something about authentication. I am able to insert smaller sets of data just fine.
curl -X PUT -H "Content-Type: application/json" https://host:port/rest/data/insert/entity/version -d @data.json --insecure --cert cert.pem:secret
JBoss Web/7.2.0.Final-redhat-1 - JBWEB000064: Error report JBWEB000065: HTTP Status 401 - JBWEB000009: No client certificate chain in this request
JBWEB000309: type JBWEB000067: Status report
&l t;b>JBWEB000068: message JBWEB000009: No client certificate chain in this request
JBWEB000069: description curl: (55) select/poll returned error JBWEB000121: This request requires HTTP authentication.
JBoss Web/7.2.0.Final-redhat-1
— Reply to this email directly or view it on GitHub https://github.com/lightblue-platform/lightblue-rest/issues/108.
Just shy of 41meg.
I am not arguing that size should be allowed, only that the exception provided is misleading.
41meg shouldn't be too large. However, you have to split this into multiple operations of smaller batches anyway.
On Thu, Mar 5, 2015 at 9:06 AM, Dennis Crissman notifications@github.com wrote:
Just shy of 41meg.
I am not arguing that size should be allowed, only that the exception provided is misleading.
— Reply to this email directly or view it on GitHub https://github.com/lightblue-platform/lightblue-rest/issues/108#issuecomment-77391805 .
That was exactly my work around.
data.json contains 87623 records, so I might expect a error related to too much data, but instead I get something about authentication. I am able to insert smaller sets of data just fine.