AnsweredAssumed Answered

'Get Import Lead Failures' and 'Get Import Lead Warnings' resources fail with HTTP 404

Question asked by Evanthika Amarasiri on Apr 19, 2018
Latest reply on Apr 20, 2018 by Sanford Whiteman

I'm trying to test the 'Get Import Lead Failures' and 'Get Import Lead Warnings' GET methods against the Marketo Sandbox environment. When I send requests to these two resources, I get an HTTP 404.

Below are the requests I'm sending and the responses I'm getting. Could you kindly let me know what's causing this issue and whether I'm doing anything wrong? I'm sending the requests based on the API documentation.

 

Get Import Lead Failures

Request Passed

GET https://743-YFC-765.mktorest.com/bulk/v1/leads/batch/2584/failures.json
[no cookies]

Request Headers:
Connection: keep-alive
Authorization: Bearer 5a666b45-0f38-4ce8-a9a4-d41a85753443:sn
Host: 743-YFC-765.mktorest.com
User-Agent: Apache-HttpClient/4.5.2 (Java/1.8.0_91)

 

Returned response

Thread Name: [Direct Invocation of Marketo API Backend] - Bulk Lead Database Uploads APIs 1-1
Sample Start: 2018-04-20 14:29:53 AEST
Load time: 65
Connect Time: 0
Latency: 65
Size in bytes: 121
Headers size in bytes: 121
Body size in bytes: 0
Sample Count: 1
Error Count: 1
Data type ("text"|"bin"|""): 
Response code: 404
Response message: Not Found

Response headers:
HTTP/1.1 404 Not Found
Server: nginx
Date: Fri, 20 Apr 2018 04:29:53 GMT
Content-Length: 0
Connection: keep-alive

HTTPSampleResult fields:
ContentType: 
DataEncoding: null

 

Get Import Lead Warnings

 

Request Passed

GET https://743-YFC-765.mktorest.com/bulk/v1/leads/batch/2584/warnings.json
[no cookies]

Request Headers:
Connection: keep-alive
Authorization: Bearer 5a666b45-0f38-4ce8-a9a4-d41a85753443:sn
Host: 743-YFC-765.mktorest.com
User-Agent: Apache-HttpClient/4.5.2 (Java/1.8.0_91)

 

Returned response

 

Thread Name: [Direct Invocation of Marketo API Backend] - Bulk Lead Database Uploads APIs 1-1
Sample Start: 2018-04-20 14:29:53 AEST
Load time: 29
Connect Time: 0
Latency: 29
Size in bytes: 121
Headers size in bytes: 121
Body size in bytes: 0
Sample Count: 1
Error Count: 1
Data type ("text"|"bin"|""): 
Response code: 404
Response message: Not Found

Response headers:
HTTP/1.1 404 Not Found
Server: nginx
Date: Fri, 20 Apr 2018 04:29:53 GMT
Content-Length: 0
Connection: keep-alive

HTTPSampleResult fields:
ContentType: 
DataEncoding: null

Outcomes