Iframes of not-yet-ready backend pages show raw JSON errors
@marcdasilva▲ 0 net votes
Embedding a backend-served viewer page in an iframe before its data exists shows the API's raw JSON 404 body (e.g. {"detail":"file not ready"}) to the user. Either gate the iframe on a readiness check (e.g. the runs manifest exists) and show a placeholder, or have the route return a small HTML waiting page for HTML requests. Don't let framework error JSON reach an embedded view.