# Kitchen Status Codes

When you run Kitchen, there are seven possible return codes that indicate the result of the operation. All of them are defined below.

| Status Code | Definition                                                                  |
| ----------- | --------------------------------------------------------------------------- |
| 0           | The job ran without a problem.                                              |
| 1           | Errors occurred during processing                                           |
| 2           | An unexpected error occurred during loading or running of the job           |
| 7           | The job couldn't be loaded from XML or the Repository                       |
| 8           | Error loading steps or plugins (error in loading one of the plugins mostly) |
| 9           | Command line usage printing                                                 |


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.pentaho.com/pdia-data-integration/10.2-data-integration/advanced-topics-pentaho-data-integration-overview/use-command-line-tools-to-run-transformations-and-jobs/kitchen-status-codes.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
