Hitachi Content Platform​

 View Only

 Log download using HCP MAPI

  • Object Storage
  • Hitachi Content Platform HCP
  • Object Storage
Eduardo Javier Huerta Yero's profile image
Eduardo Javier Huerta Yero posted 03-28-2020 20:15

I'm using the MAPI to download logs from HCP. The way I understand it from the docs, the process is this:

  1. Issue a logPrepare REST call specifying the dates you want (and some other optional stuff)
  2. Periodically issue a logStatus REST call to check if the logs are ready
  3. Issue a logDownload request, specifying the types of logs you want among other stuff

This all works fine the first time. Now I need logs from different dates. Issuing a logPrepare call again is met with a

"400-Bad Request-There is already a download in progress".

 

So how can I get rid of the first logs so that I can "prepare" new ones?


#HitachiContentPlatformHCP
#ObjectStorage
Scott Lindley's profile image
Scott Lindley

I am having precisely the same issue. In addition, I requested logs from a couple of days ago, but what I received were today's logs. It appeared to completely ignore the startDate/endDate parameters.