# Endpoint errors configuration > Enable errors to show up on the endpoint pages of your documentation, from the error names, codes, and objects returned configured in your API definition. This configuration enables errors to show up on the endpoint pages of your documentation. The error names, codes, and objects returned are configured in your API definition. ## Configuration ```yaml navigation: - api: API Reference display-errors: true #<--- add this line ``` ## Example ![Endpoint errors](https://fern-image-hosting.s3.amazonaws.com/fern/errors.png) By clicking on an error, you can see the error name, code, and object returned. The response also updates to show the error object. ![Endpoint errors when expanded](https://fern-image-hosting.s3.amazonaws.com/fern/errors-expanded.png)