2 Replies Latest reply on Oct 9, 2017 11:04 AM by 3eb476812c2a59988d2f419a3eaea69e98b45cc3

    Unable to retrieve Status after REST Bulk Leads Insert

      I am attempting to upload a CSV file using the REST Leads Bulk Import.


      When I submit the request, I get the following,



      I then use the batchId (in this case 1124) to attempt to poll for the results using the Classic ASP Code below:


      Set xmlHTTP = Server.CreateObject("MSXML2.ServerXMLHTTP.3.0")

      xmlHTTP.Open "GET", "https://REDACTED.mktorest.com/bulk/v1/batch/1124.json", false

      xmlHTTP.setRequestHeader "content-type", "application/json"

      xmlHTTP.setRequestHeader "Authorization", "bearer " & access_token



      I don't get any results back.  Anyone know what the problem could be?  I would expect to see a status of Queued, Importing, Complete, Failed but I get no response whatsoever.


      Thanks in advance.