> For the complete documentation index, see [llms.txt](https://cubbles.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cubbles.gitbook.io/docs/coder-devtools-cdt/user-guide/validate-manifest.md).

# Validate the manifest.webpackage file

As you may know, the `manifest.webpackage` file must follow a [JSON schema](https://github.com/cubbles/cubx-webpackage-document-api/wiki/manifest.webpackage:-Change-Notes) according to its model version. The [CDT](/docs/coder-devtools-cdt.md) offers you the `+webpackage-validateManifestFile` task to validate the manifest of your current webpackage automatically.

> Note that the manifest is validated before being [uploaded](/docs/coder-devtools-cdt/user-guide/upload-a-webpackage.md), and if it is not valid the upload will be interrupted.

## Purpose

To show how to validate the manifest of a webpackage using the +webpackage-validateManifestFile\` task.

## Steps

You should run the task within the CDT folder (normally it is called *devtools*) as follows:

```bash
grunt +webpackage-validateManifestFile
```

## Outcome

If the manifest has errors, those will be prompted. Otherwise, you will get a message similar to the one below:

```bash
Done, without errors.
```
