> ## Documentation Index
> Fetch the complete documentation index at: https://razorpay-60c89f9a-mintlify-audit-missing-sections-1778528421.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Contact Error Codes

> When firing [Contact APIs](/api/x/contacts), you might run into errors for various reasons. These error codes are returned in an error body, which you can use to understand the reason for the error and the steps to resolve it.

## Error Sample Code and Description

Here is an example of how an error code appears when any Contact API fails.

```json: Sample Error Response theme={null}
{
  "error": {
      "code": "BAD_REQUEST_ERROR",
      "description": "The name field is required.",
      "source": "business",
      "step": null,
      "reason": "input_validation_failed",
      "metadata": {},
      "field": "name"
  }
}
```

`code`
: `string` Not applicable for Error Codes. The value is displayed to maintain consistency of the error object.

`description`
: `string` A description for the error. For example, `The name field is required.`.

`source`
: `string` Possible value is `business`. The error can be fixed from your end.

`step`
: `string` Not applicable for API Error Codes. The value is displayed to maintain consistency of the error object.

`reason`
: `string` The error reason. For example, `input_validation_failed`.

`metadata`
: `Null Value` Not applicable for API Error Codes. The value displayed to maintain consistency of the error object.

`field`
: The Contact details in the [Contact entity](/api/x/contacts#contact-entity) such as `name`, `email`, `type` and so on.

### Related Information

* [Contact APIs](/api/x/contacts)
* [Payout Status Details](/errors/x/payout-status-details)
