> Documentation index: https://www.gooddata.ai/docs/gooddata-ui/llms.txt lists every page of these docs as Markdown.

# NoDataError

- Package: [@gooddata/sdk-backend-spi](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-backend-spi/index.md)
- Kind: class
- Source: https://github.com/gooddata/gooddata-ui-sdk/blob/rel/11.64/libs/sdk-backend-spi/src/errors/index.ts

This exception MUST be thrown when the backend execution identifies that there is no data to calculate.

**Signature:**

```typescript
export declare class NoDataError extends AnalyticalBackendError 
```
**Extends:** [AnalyticalBackendError](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-backend-spi/sdk-backend-spi.analyticalbackenderror/index.md)

## Properties

| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [dataView?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-backend-spi/sdk-backend-spi.nodataerror/index.md#nodataerrordataview) | `readonly` | [IDataView](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-backend-spi/sdk-backend-spi.idataview/index.md) | _(Optional)_ Empty data view MAY be included by the backend in case execution metadata and data view metadata is present. |

## Property details

### NoDataError.dataView

Empty data view MAY be included by the backend in case execution metadata and data view metadata is present.

**Signature:**

```typescript
readonly dataView?: IDataView;
```
