---
schema_version: "1"
id: bc9d534b42c5add94f4d55941d5be6c5fc098bb2adc99ceb3b98687be9001fc2
title: Error Message
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/uiapi/ui_api_responses_error_message.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.uiapi.meta/uiapi/ui_api_responses_error_message.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: ad3accf2d1996a3c777dcdab776d953e1fd243a9c0682ed39ff6ebb83a9f3d85
description: An error code and error message.
---
# Error Message

An error code and error message.

| Property | Type | Description | Filter Group and Version | Available Version |
| --- | --- | --- | --- | --- |
| errorCode | String | An error code with information about the error, for example, INSUFFICIENT\_PRIVILEGES | Small, 41.0 | 41.0 |
| message | String | Description of error | Small, 41.0 | 41.0 |

#### See Also

- [Batch Result Item](https://developer.salesforce.com/docs/atlas.en-us.uiapi.meta/uiapi/ui_api_responses_batch_result.htm "The results of one subrequest in a batch request.")