API Reference for Marketo Engage

Get Weekly Errors

GET /rest/v1/stats/errors/last7days.json

Returns a count of each error type they have encountered in the past 7 days.

Operation ID
getLast7DaysErrorsUsingGET
Permissions
None
Request format
application/json
Returns
ResponseOfErrorsData

Responses

200 OK ResponseOfErrorsData
errors array of Error required

Array of errors that occurred if the request was unsuccessful

Model Error

code string required

Error code of the error. See full list of error codes here

message string required

Message describing the cause of the error

moreResult boolean

Boolean indicating if there are more results in subsequent pages

nextPageToken string

Paging token given if the result set exceeded the allowed batch size

requestId string required

Id of the request made

result array of ErrorsData required

Array of results for individual records in the operation, may be empty

Model ErrorsData

date string (date-time) required

Date of the collected calls

errors array of ErrorCount

Counts for individual error codes

Model ErrorCount

count integer (int32) required

Number of occurences of the error

errorCode string required

Integer error code of the error

total integer (int32)

Total number of errors in the time period

success boolean required

Whether the request succeeded

warnings array of Warning required

Array of warnings given for the operation

Model Warning

code integer (int32) required

Integer code of the warning

message string required

Message describing the warning

Generated example
{
  "errors": [
    {
      "code": "string",
      "message": "string"
    }
  ],
  "moreResult": false,
  "nextPageToken": "example-token",
  "requestId": "123",
  "result": [
    {
      "date": "2026-01-15T10:30:00Z",
      "errors": [
        {
          "count": 123,
          "errorCode": "string"
        }
      ],
      "total": 123
    }
  ],
  "success": false,
  "warnings": [
    {
      "code": 123,
      "message": "string"
    }
  ]
}

Referenced models

Generated from swagger-mapi.json. Generated examples are inferred from the schema; they are illustrative and may not be valid production payloads.

↑ ↓ to move, ↵ to open, esc to closeSee all results