NF-007: Island fetch failed
The host could not fetch an island from its remote, so the island renders its fallback and the page still answers. The log line names the island, the...
Why This Error Occurred
The host could not fetch an island from its remote, so the island renders its fallback and the page still answers. The log line names the island, the remote, the URL (never the query or token) and any HTTP status:
NF-007: Island fetch failed. Island "Hello" from remote "shop" failed at https://shop.example.com/_nf/island/Hello (HTTP 503); rendering its fallback.Possible Ways to Fix It
-
Open the logged URL from the host's network and check that the remote is running.
-
Check that the remote's
originis an island remote, built with@next-federation/viteand served bynf-serveorcreateIslandHandler. A website or Next.js app cannot be one. -
Check that the island name is one the remote exposes.
-
Retry transient failures with
retries.502,503,504and network errors are retried once by default:remotes: { shop: { origin: 'https://shop.example.com', retries: 2 } }
Useful Links
NF-006: Island server and client bundle run different React modes
The island was rendered with one React mode (development or production) and hydrates with the other. Mixing modes causes hydration errors that are hard to...
NF-008: Island fetch timed out
The remote did not answer within the timeout (3000 ms by default). It is slow or overloaded, or the timeout is lower than the island's real render time.