Search documentation
karat

+

K

User Documentation ↗

Errors

This API can return the errors documented below. Note that all errors returned by this API are compliant and consistent with HTTP status code semantics. Errors are in JSON format and include an error name, error code, error instance ID (which can be provided to Palantir support), and additional parameters to assist in debugging. They will be returned with a 4xx or 5xx status code. For example, a request to load an object with primaryKey invalidkey might look like the following:

{
    "errorCode":"INVALID_ARGUMENT",
    "errorName":"MalformedObjectPrimaryKeys",
    "errorInstanceId":"00813215-0844-4716-be7b-a3fe0fce9e42",
    "parameters":{
        "primaryKeys": ["invalidKey"]
    }
}

General errors

Where applicable, Gotham APIs can return the following general errors.

Error nameError codeStatus codeDescription
ApiFeaturePreviewUsageOnlyINVALID_ARGUMENT400The given API endpoint is not for production use and is only supported in preview mode. Please add a preview=true query parameter to call this endpoint.
ApiUsageDeniedPERMISSION_DENIED403The user/token provided is not authorized for the API endpoint.
Conjure:InvalidArgumentINVALID_ARGUMENT400One or more of the request's arguments is invalid.
Conjure:UnprocessableEntityINVALID_ARGUMENT422One or more of the request's arguments is invalid.
Conjure:UnsupportedMediaTypeINVALID_ARGUMENT415The Content-type header for the request is invalid. Use Content-type: application/json.
Default:InternalINTERNAL500An error occurred within the service. Contact a system administrator for help.
Default:PermissionDeniedPERMISSION_DENIED403You are missing permission to access information necessary to complete your request.
Default:UnauthorizedUNAUTHORIZED401The given authorization token header is invalid.
InvalidPageSizeINVALID_ARGUMENT400The provided page size was zero or negative. Page sizes must be greater than zero.
InvalidPageTokenINVALID_ARGUMENT400The provided page token could not be used to retrieve the next page of results.
InvalidParameterCombinationINVALID_ARGUMENT400The given parameters are individually valid but cannot be used in the given combination.
MissingCredentialsUNAUTHORIZED401The endpoint requires an authorization token to be passed as a header, but none was found.

Security errors

Error nameError codeStatus codeDescriptionAdditional parameters
InvalidClassificationPortionMarkingsINVALID_ARGUMENT400The specified markings do not represent a valid classification.portionMarkings
InvalidDiscretionaryControlsINVALID_ARGUMENT400The specified groups do not exist.groupExternalIds

Objects errors

Error nameError codeStatus codeDescriptionAdditional parameters
MalformedPropertyFiltersINVALID_ARGUMENT400At least one of requested filters is malformed.malformedPropertyFilter
MalformedObjectPrimaryKeysINVALID_ARGUMENT400The requested object primary key or keys are malformed.primaryKeys
InvalidOntologyTypesINVALID_ARGUMENT400At least one specified ontology type was invalid (property type, link type, object type)invalidPropertyTypes, invalidObjectTypes, invalidLinkTypes
MissingRepresentativePropertyTypesINVALID_ARGUMENT400A representative property type was not specified when creating an object for the specified object type, and STRICT validation mode was requested.missingRepresentativeProperties
DisallowedPropertyTypesINVALID_ARGUMENT400A property type was specified that is not allowed for the specified object type, and STRICT validation mode was requested.disallowedPropertyTypes
InvalidPropertyValueINVALID_ARGUMENT400A property value was not valid based on Property Type configuration. See reason for details.propertyType, propertyValue, reason
FederatedObjectUpdateNotAllowedINVALID_ARGUMENT400The object is from a federated system and cannot be updated.primaryKey

Observations errors

Error nameError codeStatus codeDescriptionAdditional parameters
InvalidTrackRidINVALID_ARGUMENT400The provided RID is not a valid TrackRid.trackRid
InvalidObjectRidINVALID_ARGUMENT400The provided RID is not a valid ObjectRid.objectRid
NoLocatorFoundForRidINVALID_ARGUMENT400Could not find the locator for the given ObjectRid.objectRid
TrackToObjectLinkageFailureINTERNAL500Could not link the given Track and Object.trackRid, targetRid
TrackToObjectUnlinkageFailureINTERNAL500Could not unlink the given Track and Object.trackRid, objectRid
TrackToTrackLinkageFailureINTERNAL500Could not link the given Tracks.trackRid, otherTrackRid
TrackToTrackUnlinkageFailureINTERNAL500Could not unlink the given Tracks.trackRid, otherTrackRid
InvalidGeotimeObservationsINVALID_ARGUMENT400At least one Observation was invalid, so none were written to Geotime.invalidObservations

Status codes

Some errors do not include an error name or other response body. In that case, check the status code of the error.

Status codeDescription
404The endpoint you are requesting does not exist. Check your request URL.
414Your URL is too long. Remove query parameters or look at the endpoint's documentation for alternatives.
429The service is experiencing too many requests. Retry your request shortly and reduce your request rate.
431Your URL or HTTP headers are too long. Remove headers or query parameters, or look at the endpoint's documentation for alternatives.
503The service is unavailable. Retry your request later.
Note

In exceptional circumstances, the service may return other, undocumented errors. Note that all errors returned by this API are compliant and consistent with HTTP status code semantics. Contact your system administrator to resolve these errors.