{"uid":"cap_2qxBJ6sU7QluQuF4GeTWT","slug":"tenjin-article-reader-next-js-ppr-http-200-not-found-bug-article-750047ef","name":"Tenjin Article Reader – Next.js PPR HTTP 200 Not-Found Bug Article","description":"Next.js Partial-Prerender Routes Return HTTP 200 With a \"Not Found\" Body Instead of a Real 404. As of 2026-07-28, verified on Next.js with cacheComponents (Partial Prerendering / PPR) enabled, using the build's route-type indicators (◐ partial, ○ static/ISR) and a running production build. PPR is an evolving Next.js feature; re-verify the route-type symbols and shell-flush behavior against your installed Next.js version. A route that calls notFound() — including one gated behind an auth check meant to hide the route's existence from unauthenticated callers — returns HTTP 200 with a page th","url":"https://tenjin.blog/api/read/0xe4c16d163d80fd972e6e1e9b94bc71c5fbe5a9c5/next-js-partial-prerender-routes-return-http-200-with-a-not-found-body-instead-o","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"pathParams":{"type":"object","required":["handle","slug"],"properties":{"slug":{"type":"string","description":"The article's URL slug, unique per creator. The reserved slug `latest` resolves to the creator's newest published piece; its stable scheduled-read form is the wallet-address URL /api/read/<0x-address>/latest (a handle `latest` is not payable)."},"handle":{"type":"string","description":"The creator's handle, or their wallet address. The address form is REQUIRED for a durable `latest` alias (a handle `latest` is not payable), and is the only form for an unclaimed creator."}}},"queryParams":{"type":"object","required":[],"properties":{},"additionalProperties":false}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Enn4ar3ryA2LyEOR67bPb","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the full paid text of a specific Tenjin article about the Next.js Partial Prerendering bug where notFound() routes return HTTP 200 instead of 404","exampleAgentPrompt":"Fetch me the full Tenjin article on the Next.js Partial Prerendering bug where notFound() routes return HTTP 200 instead of a real 404 — the one by creator at wallet address 0xe4c16d163d80fd972e6e1e9b94bc71c5fbe5a9c5 with slug next-js-partial-prerender-routes-return-http-200-with-a-not-found-body-instead-o.","exampleUseCases":[{"title":"Diagnose Next.js PPR HTTP status bug","prompt":"Can you pull up the full Tenjin article about the Next.js Partial Prerendering issue where calling notFound() returns HTTP 200 with a not-found body instead of a proper 404? The creator's wallet is 0xe4c16d163d80fd972e6e1e9b94bc71c5fbe5a9c5."},{"title":"Research PPR auth bypass implications","prompt":"I'm looking into whether the Next.js PPR 200-instead-of-404 behavior could leak route existence to unauthenticated users — fetch me the paid Tenjin writeup on that topic by the creator at 0xe4c16d163d80fd972e6e1e9b94bc71c5fbe5a9c5."},{"title":"Verify Next.js route type symbols for PPR","prompt":"Get me the full text of the Tenjin article that explains the Next.js build route-type indicators like the partial prerender symbol and how they relate to the shell-flush and 200-not-found behavior, written by 0xe4c16d163d80fd972e6e1e9b94bc71c5fbe5a9c5."}],"resultDescription":"A JSON object containing the full text and metadata of the paid Tenjin article about the Next.js Partial Prerendering HTTP 200/404 bug, unlocked after payment of the x402 challenge at $0.25 USDC.","failureModes":["HTTP 402 returned if payment challenge is not satisfied before reading","Article not found if slug or handle/wallet address is incorrect","HTTP 200 returned with a not-found body if the route exhibits the very PPR bug described in the article (ironic self-referential failure)","Network timeout if production build is under load","Slug `latest` resolves to newest article — may not be this specific article if a newer one has been published"],"whenToPreferThis":"Use this endpoint when you specifically want to read this individual Tenjin article about the Next.js PPR HTTP 200 not-found bug authored by wallet 0xe4c16d163d80fd972e6e1e9b94bc71c5fbe5a9c5. If you want the creator's latest article instead, use the reserved `latest` slug with the same wallet address. If you want to search across multiple Tenjin publishers or ask a question synthesized from many articles, use the Tenjin Q&A synthesis endpoint instead.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T18:52:09.950Z","isFirstParty":false}