# Chapter 5.1.16 - Error Response

Source: https://developer.avalara.com/products/communications/integration-guides/dev-guide_rest_v2/reference/error-response/

-   [Previous](/communications/dev-guide_rest_v2/reference/invoice-result/)
-   [Next](/communications/dev-guide_rest_v2/reference/line-item-result/)

### Error

The `Error` object contains the **error description** as applicable:

Key

Value

`code`

`[int]` Error Code  

The numeric code associated with the error  

`msg`

`[string]` Error Message

-   Max length: Unlimited

### Example

```json
"err": [ { "code": -2000, "msg": "Request body cannot be empty." }]
```

-   [Previous](/communications/dev-guide_rest_v2/reference/invoice-result/)
-   [Next](/communications/dev-guide_rest_v2/reference/line-item-result/)