User GuidesAPI ReferenceRelease Notes
Doc HomeHelp CenterLog In
API Reference

Error Handling

Tamr API returns conventional HTTP success or error status codes.

For errors, Tamr API includes information about what went wrong. The following list contains the various HTTP status codes and metadata included in error messages returned by Tamr APIs.

HTTP Status Codes

Status CodeText
400Bad Request
401Unauthorized
404Not Found
409Conflict
422Unprocessable Entity
500Internal Server Error

Error Types

All errors are returned as JSON with a status, class, message, and other metadata. An example error response is below:

{
  "status": 404,
  "class": "com.tamr.common.except.ResourceNotFoundException",
  "message": "No Operation found with ID [1000000]",
  "stackTrace": [
    "com.tamr.common.except.ResourceNotFoundException::withFormattedMessage::14",
    "com.tamr.unify.pub.api.services.OperationService::fetchOperation::37",
    "com.tamr.unify.pub.api.v1.resources.OperationResource::getOperation::68",
    "sun.reflect.NativeMethodAccessorImpl::invoke0::-2"
  ],
  "causedBy": null,
  "service": "Public API"
}
Error Attributes
statusThe HTTP status code of the error returned.
classThe class the error was thrown by.
messageA human-readable message detailing a short description of the error.
stackTraceThe series of calls made by the endpoint.
causedByA short message indicating why the error occured.
serviceWhich microservice caused the error.