Why it matters
A 5xx fails Lighthouse's agentic-browsing llms-txt audit (a 404 counts as not applicable) and signals a broken route.
How to fix it
Make the route static (export const dynamic = 'force-static') so it can't fail at request time.
References
More ai search rules
void geo reports 41 rules in this category. Generative-engine optimisation: whether AI crawlers that don't run JavaScript see the same content, valid and visible JSON-LD, an explicit AI robots policy, llms.txt, Markdown mirrors and answer-first writing.
markdown-mirror-indexableMarkdown mirror can compete with the HTML page, or diverges from itmarkdown-negotiation-varyAccept: text/markdown negotiation without Vary: Acceptmarkdown-negotiationNo Markdown response for Accept: text/markdownllms-txt-missingNo /llms.txtllms-txt-invalid/llms.txt doesn't follow the llms.txt formatllms-txt-broken-links/llms.txt links to URLs that failllms-txt-not-linkedllms.txt exists but isn't linked from the home pagerobots-ai-policyAI crawler policy (allow/deny matrix from robots.txt)