# Error handling

> Error messages may appear when you reload the `Actions` or `Queues` table in the app or Discovery Accelerator.

## Introduction

Error messages may appear when you reload the `Actions` or `Queues` table in the app or Discovery Accelerator.

## Error messages

### Generic error messages

The table below contains a description of possible error messages.

| Error | Description |
| --- | --- |
| Could not find the configuration file at `<PLATFORMDIR>/orchestrator/[tenant].env`. | The folder structure of the installation is not correct and the `[tenant].env` configuration file cannot be found. |
| `ORCH_INSTANCE_TYPE` is not filled correctly. | Instance type should be **1** or **2** depending on whether you have cloud or on premise installation. Either this is not specified or incorrectly specified. |
| `ORCH_URL` is not filled in the configuration file. | The `ORCH_URL = [url]` of your cloud Orchestrator must be specified in the configuration file (`[tenant].env`). |
| `ORCH_APP_ID` and/or `ORCH_APP_SECRET` are not filled in the configuration file. | Your `ORCH_APP_ID: [Your app ID]` and `ORCH_APP_SECRET: [Your app secret]` must be specified in the configuration file (`[tenant].env`). |
| Request for the authentication key is not successful with status code: [status code]. | With the provided values in the configuration it was not possible to get authentication, the status code gives more information about the reason why it was not successful. |
| Request for the authentication key results in a connection error for url: [URL]. | With the provided values in the configuration it was not possible to get authentication for the cloud Orchestrator with the specified url. |
| **Tenant** is not set in the connector. | Tenant must be specified in the `tenant` expression in the `Globals` table in the **Basic Connector**. |

### Error messages related to Actions

The table below contains a description of possible error messages related to Actions.

| Error | Description |
| --- | --- |
| Mandatory field **title** is not defined for an action. | You must specify the display name of the action in the `title` property of the action. |
| Mandatory field **folderID** is not defined for action: ["title"]. | You must specify the ID of the folder for which the action is created in the `folderID` property of the action. |
| Mandatory field **priority** is not defined for action: ["title"]. | You must specify the priority of the action to be done (Low, Medium, High, Critical) in the `priority` property of the action. |
| Mandatory field **catalog** is not defined for action: ["title"]. | You must specify the Action Center catalog of the action in the `catalog` property of the action. |
| Mandatory field **message** is not defined for action: ["title"]. | You must specify a message containing specific information about the action in the `message` property of the action. |
| Request to create action is not successful with status code: [status code] + ["message"] | With the provided values in the configuration it was not possible to create actions in the **Action Center**, the status code gives more information about the reason why it was not successful. |

### Error messages related to Queue Items

The table below contains a description of possible error messages related to Queue items.

| Error | Description |
| --- | --- |
| Mandatory field **name** is not defined for a queue item. | You must specify the display name of the queue item in the `name` property of the queue item. |
| Mandatory field **folderID** is not defined for a queue item in queue: ["name"]. | You must specify the ID of the folder for which the queue item is created in the `folderID` property of the queue item. |
| Mandatory field **reference** is not defined for a queue item in queue: ["name"]. | You must specify unique reference to the queue item in the `reference` property of the queue item. |
| No queue available in folder ["folderID"] with name: ["name"]. | This queue with the specified name must be predefined in your **Action Center** in **Orchestrator**. |
| Request to create queue item is not successful with status code: [status code] + ["message"] | With the provided values in the configuration it was not possible to create queues in the **Action Center**, the status code gives more information about the reason why it was not successful. |
