Skip to content

AEMP Integration API Error Code

Error Response Structure

{
"type": "string",
"title": "string",
"status": "string",
"detail": "string"
}
  • Below are the values for title and status
TitleStatus
AccessDeniedException403
ResourceNotFoundException404
ResourceConflictException409
UnknownException500

Error Responses

General

TitleScenarioErrorMessage
AccessDeniedExceptionAccess denied to a resourceNot allowed to perform this action

Integrations

  • ValidationException

    Sample Error Message

    {
    "type": "https://docs.trimblecloud.com/iot-service/harvester/reference/error-codes/",
    "title": "ValidationException",
    "status": "400",
    "detail": "<CustomMessage>"
    }
    ScenarioErrorMessage
    Mandatory field FeedUrl is not givenFeed Url is mandatory in OemInfo list or should be last in the sequence
    Invalid HTTP MethodHttpMethod is Invalid, allowed HttpMethod are POST , GET
    Invalid range for PollIntervalPollIntervalMinutes must be between 15 and 2880
  • ResourceNotFoundException

    Sample Error Message

    {
    "type": "https://docs.trimblecloud.com/iot-service/harvester/reference/error-codes/",
    "title": "ResourceNotFoundException",
    "status": "404",
    "detail": "<CustomMessage>"
    }
    ScenarioErrorMessage
    The given integration id does not existIntegration not found

FeedRuns

  • ValidationException

    Sample Error Message

    {
    "type": "https://docs.trimblecloud.com/iot-service/harvester/reference/error-codes/",
    "title": "ValidationException",
    "status": "400",
    "detail": "<CustomMessage>"
    }
    ScenarioErrorMessage
    Mandatory field StartUtc is not givenStartUtc is required
    Mandatory field EndUtc is not givenEndUtc is required
    Invalid format for StartUtcStartUtc provided is not in valid utc format
    Invalid TimeRangeTimestamp Range provided is invalid. Time range between startUtc and endUtc should be less than 24 hours.
    StartUtc value is later than the endUtc valueTimestamp Range provided is invalid, startUtc is greater than the endUtc

Raw Feed

  • ValidationException

    Sample Error Message

    {
    "type": "https://docs.trimblecloud.com/iot-service/harvester/reference/error-codes/",
    "title": "ValidationException",
    "status": "400",
    "detail": "<CustomMessage>"
    }
    ScenarioErrorMessage
    The value of page number is not in the valid rangePage number is out of range
  • ResourceConflictException

    Sample Error Message

    {
    "type": "https://docs.trimblecloud.com/iot-service/harvester/reference/error-codes/",
    "title": "ResourceConflictException",
    "status": "409",
    "detail": "<CustomMessage>"
    }
    ScenarioErrorMessage
    Raw Feed is not available for the feed run as download failed or in progressUnable to fetch RawFeed