Ultimate

X_ROUTE_MODE_INVALID

Means

render mode not allowed on this surface, or not a render mode at all

Typical cause

stream on a site/ route; render: 'spa', deleted in 6.0.0

Fix

use static, isr or ssr in site/; stream or ssr in app/. For spa, the migration is one line — render: 'ssr' — in Upgrading

Listed under Routes, render and budgets

This page as markdown