I'm using the Google Apps Java client library to develop an Android application. I am trying to send a batch request as explained here.
This is my request code for the discovery endpoint, which you can see has a batchPath
field with "batch" as value:
BatchRequest batchRequest = mApi.batch();
mApi.insert(mEntity).queue(batchRequest, callback);
batchRequest.execute();
However I keep getting a 404 error
. I have already deployed my rebuilt project and double checked the API url. Why is my request not reaching my generated endpoint?