Search Error Exception

June 5, 2026 ยท View on GitHub

The error details.

Structure

SearchErrorException

Fields

NameTypeTagsDescriptionGetterSetter
NameStringRequiredThe human-readable, unique name of the error.String getName()setName(String name)
MessageStringRequiredThe message that describes the error.String getMessageField()setMessageField(String messageField)
DebugIdStringRequiredThe PayPal internal ID. Used for correlation purposes.String getDebugId()setDebugId(String debugId)
InformationLinkStringOptional, Read-onlyThe information link, or URI, that shows detailed information about this error for the developer.String getInformationLink()setInformationLink(String informationLink)
DetailsList<TransactionSearchErrorDetails>OptionalAn array of additional details about the error.List getDetails()setDetails(List details)
LinksList<LinkDescription>Optional, Read-onlyAn array of request-related HATEOAS links.List getLinks()setLinks(List links)
TotalItemsIntegerOptionalThe total number of transactions. Valid only for RESULTSET_TOO_LARGE.

Constraints: >= 0, <= 2147483647
Integer getTotalItems()setTotalItems(Integer totalItems)
MaximumItemsIntegerOptionalThe maximum number of transactions. Valid only for RESULTSET_TOO_LARGE.

Constraints: >= 0, <= 2147483647
Integer getMaximumItems()setMaximumItems(Integer maximumItems)

Example (as JSON)

{
  "name": "name8",
  "message": "message8",
  "debug_id": "debug_id6",
  "information_link": "information_link0",
  "details": [
    {
      "field": "field4",
      "value": "value2",
      "location": "location4",
      "issue": "issue6",
      "description": "description0"
    }
  ],
  "links": [
    {
      "href": "href6",
      "rel": "rel0",
      "method": "HEAD"
    }
  ],
  "total_items": 20,
  "maximum_items": 206
}