HTTP error codes
Debug logging
Production applications do not write logs by default. Enable debug mode before reproducing the issue to captureconsole.log output (JavaScript) or println! output (Rust).
Enable debug mode:
from, to, edge (specific PoP), client_ip, request_id, search.
Platform limits
Exceeding the limits below triggers a 532 (timeout) or 533 (memory) response. Check which plan your application is on if you see these codes repeatedly.Common application issues
Request headers missing at the origin
If a CDN application adds or sets a request header and the origin never receives it, check the header name. Headers with thex-cdn- or x-gcdn- prefixes are reserved for internal CDN use and are stripped before the request reaches the origin. Use a different prefix, such as x-fastedge or an application-specific name. The Proxy-Wasm header APIs do not return an error for reserved names.
Rust: log output not appearing
eprintln! writes to stderr, which FastEdge does not capture. Use println! for any output that should appear in debug logs.
JavaScript: unavailable APIs
The following are not available inside FastEdge JavaScript applications:- Node.js built-ins:
node:crypto,node:fs,node:buffer,process,require WebSocket- Web Cache API — use the Cache module (
import { Cache } from 'fastedge::cache') instead
Local testing
Before deploying, test the application locally withfastedge-run, a local HTTP server for compiled Wasm binaries:
fastedge-run usage is in FastEdge CLI. Three more tools speed up local development: Test framework for headless test suites and a browser debugger, the FastEdge extension for building and debugging inside VS Code, and AI-assisted development for scaffolding and deploying apps through Claude Code, Codex, or Cursor.