Skip to main content
When a FastEdge application fails, the response includes a FastEdge-specific 5xx status code. The code identifies whether the failure happened during initialization, execution, timeout, or memory allocation. Start by identifying the returned status code. Then enable debug logging to capture application output and investigate the root cause.

HTTP error codes

Debug logging

Production applications do not write logs by default. Enable debug mode before reproducing the issue to capture console.log output (JavaScript) or println! output (Rust). Enable debug mode:
Debug mode stays active for 30 minutes and then turns off automatically. Reproduce the failure, then retrieve the logs:
Available query parameters: 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

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 your application locally using the FastEdge CLI. See FastEdge CLI for installation and full usage.
For JavaScript applications, npm run debug starts the same visual debugger.