# ErrorMessage


## Fields

| Field                                                                                                 | Type                                                                                                  | Required                                                                                              | Description                                                                                           |
| ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- |
| `canBeRetried`                                                                                        | *string*                                                                                              | :heavy_minus_sign:                                                                                    | `True` if the error occurred transiently and can be retried.                                          |
| `correlationId`                                                                                       | *string*                                                                                              | :heavy_minus_sign:                                                                                    | Unique identifier used to propagate to all downstream services and determine the source of the error. |
| `detailedErrorCode`                                                                                   | *number*                                                                                              | :heavy_minus_sign:                                                                                    | Machine readable error code used to automate processes based on the code returned.                    |
| `error`                                                                                               | *string*                                                                                              | :heavy_minus_sign:                                                                                    | A brief description of the error.                                                                     |
| `service`                                                                                             | *string*                                                                                              | :heavy_minus_sign:                                                                                    | Codat's service the returned the error.                                                               |
| `statusCode`                                                                                          | *number*                                                                                              | :heavy_minus_sign:                                                                                    | The HTTP status code returned by the error.                                                           |