Search Error Exception
June 5, 2026 ยท View on GitHub
The error details.
Structure
SearchErrorException
Fields
| Name | Type | Tags | Description | Getter | Setter |
|---|---|---|---|---|---|
Name | String | Required | The human-readable, unique name of the error. | String getName() | setName(String name) |
Message | String | Required | The message that describes the error. | String getMessageField() | setMessageField(String messageField) |
DebugId | String | Required | The PayPal internal ID. Used for correlation purposes. | String getDebugId() | setDebugId(String debugId) |
InformationLink | String | Optional, Read-only | The information link, or URI, that shows detailed information about this error for the developer. | String getInformationLink() | setInformationLink(String informationLink) |
Details | List<TransactionSearchErrorDetails> | Optional | An array of additional details about the error. | List | setDetails(List |
Links | List<LinkDescription> | Optional, Read-only | An array of request-related HATEOAS links. | List | setLinks(List |
TotalItems | Integer | Optional | The total number of transactions. Valid only for RESULTSET_TOO_LARGE.Constraints: >= 0, <= 2147483647 | Integer getTotalItems() | setTotalItems(Integer totalItems) |
MaximumItems | Integer | Optional | The 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
}