---
metadata:
  - name: generator
    content: Diplodoc Platform v5.51.0
alternate:
  - https://e2e.viewer-test.ydocs.io/en/api/error-codes.md
  - https://e2e.viewer-test.ydocs.io/ru/api/error-codes.md
  - href: https://e2e.viewer-test.ydocs.io/en/api/error-codes.md
    type: text/markdown
    title: Markdown version
  - href: https://e2e.viewer-test.ydocs.io/en/llms.txt?revision=ytsaurus-test-revision5
    rel: describedby
---
> **Documentation Index:** Fetch the complete configuration index at https://e2e.viewer-test.ydocs.io/en/llms.txt?revision=ytsaurus-test-revision5

<!-- source: en/_includes/api/error-codes.md -->
# Error codes

This section presents a collection of error codes that you may encounter when working with YTsaurus.

The error code is a non-negative integer:

- `0` means a successful execution `NYT::EErrorCode::OK`
- `1` means generic errors `NYT::EErrorCode::Generic`

Other values are split between subsystems.

You can view registered error codes by [searching](https://github.com/search?q=repo%3Aytsaurus%2Fytsaurus+path%3A%2F%5Eyt%5C%2F%2F+YT_DEFINE_ERROR_ENUM&type=code) for the `YT_DEINE_ERROR_ENUM` construct in the code base.

To exactly construe certain errors, you need quite a deep knowledge of the system architecture. The list of errors is continuously expanded (mostly in a backward-compatible way).
<!-- endsource: en/_includes/api/error-codes.md -->