Bulk Request failing with Not Found 404. But single request works fine.
Using the java client, I am attempting to do a bulk request. However I get a J4pRemoteException Not Found with a status code of 404. Looking at the exception, the request is null. My code looks like:
List<J4pResponse> responses = client.execute(requests);
If I do the following it works fine and the response is as expected:
for(J4pRequest req : requests) {
J4pResponse resp = client.execute(req);
}
But I'd rather limit the traffic and submit one bulk request and get back 1 bulk response.