---
title: "Type Alias MetabotErrorMessage"
url: "https://www.metabase.com/docs/latest/embedding/sdk/api/MetabotErrorMessage"
version: "65"
---

> For the complete documentation index, see [llms.txt](https://www.metabase.com/docs/llms.txt).

# Type Alias MetabotErrorMessage

```ts
type MetabotErrorMessage = {
  message: string;
  type: "message" | "alert" | "locked";
};
```

## Properties

| Property                       | Type                                   | Description                                                                               |
| :----------------------------- | :------------------------------------- | :---------------------------------------------------------------------------------------- |
| `message` | `string`                               | -                                                                                         |
| `type`       | `"message"` \| `"alert"` \| `"locked"` | `"alert"` renders with a warning icon and error color; `"message"` renders as plain text. |
