> For the complete documentation index, see [llms.txt](https://docs.beefree.io/beefree-sdk/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.beefree.io/beefree-sdk/resources/error-management/template-validation-and-update-errors.md).

# Template Validation and Update Errors

## Example Response

```javascript

{"code":2200,"message":"required key not provided @ data[u'page'][u'body'][u'content'][u'style'][u'color']","error":"BAD REQUEST"}

```

## Error Codes

<table><thead><tr><th width="95">Code</th><th width="158">Message</th><th width="146">Error</th><th width="127">HTTP status</th><th>Info</th></tr></thead><tbody><tr><td><code>2000</code></td><td>Generic Bump Error</td><td>BAD REQUEST</td><td>400</td><td>Default generic bump error</td></tr><tr><td><code>2100</code></td><td>Invalid Target Version</td><td>BAD REQUEST</td><td>400</td><td>The target version does not exists</td></tr><tr><td><code>2200</code></td><td>[validation error detail]</td><td>BAD REQUEST</td><td>400</td><td><p>The JSON didn’t pass the validation.</p><p>The cause may be:</p><ul><li>Missing keys</li><li>Added unknown keys</li></ul><p>Message e.g.: <code>required key not provided @ data[u'page'][u'body'][u'content'][u'style'][u'color']</code></p></td></tr><tr><td><code>2300</code></td><td>Missing Template Version</td><td>BAD REQUEST</td><td>400</td><td>There is no template version in the page</td></tr><tr><td><code>2400</code></td><td>Invalid Template Version</td><td>BAD REQUEST</td><td>400</td><td>The specified version is unknown</td></tr><tr><td><code>2500</code></td><td>Transformation Error</td><td>BAD REQUEST</td><td>400</td><td>Issues during JSON version migration</td></tr><tr><td><code>2600</code></td><td>Backward Transformation Error</td><td>BAD REQUEST</td><td>400</td><td>Issues during JSON version migration</td></tr><tr><td><code>3000</code></td><td>Service Error</td><td>SERVICE FAILURE</td><td>503</td><td>System failure not related with invalid json files</td></tr></tbody></table>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.beefree.io/beefree-sdk/resources/error-management/template-validation-and-update-errors.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
