---
title: MARKLESS_MDX_RENDER_DATA_ROOT_MISSING
description: "A Markless runtime error from @markless/router."
sidebar: { hidden: true }
search: { keywords: ["MDX_RENDER_DATA_ROOT_MISSING","mdx render data root missing","markless error"] }
pagination: false
---

**Error** from the runtime, while a page renders or runs.

## What happened

The error message reads:

```text
MARKLESS_MDX_RENDER_DATA_ROOT_MISSING: <componentIndex>
```

Words in angle brackets change from case to case.

## How to fix it

If you see this error, open an issue on the [Markless repo](https://github.com/compiled-run/markless/issues) with the steps that cause it.

This page has no guide yet. [Help write it](/contributing/improve-these-docs).

## Where it comes from

`@markless/router` raises this code. Source:

- [packages/router/src/vite/runtime/mdx-route.ts](https://github.com/compiled-run/markless/blob/main/packages/router/src/vite/runtime/mdx-route.ts)

Read [how to read a Markless error](/tooling/diagnostics), or go back to [all error codes](/errors).
