Next.js error logging &
bot mitigation that just works.
Effortlessly log client and server side errors in your Next.js apps — while monitoring and
logging incoming requests and blocking bot threats before they cause damage.
Security
- Banned IP list fetched securely from ErrorAware
- Automatic IP format validation (IPv4 + IPv6)
- Enforces HTTPS for all requests
Rate Limiting
- Per-IP rate limiting via Upstash
- Sliding window algorithm (5 reqs / 10s)
- 429 response with logging when exceeded
Verification
- Connection verification payloads with timestamp tolerance
- Ownership validation via secure token comparison
- Signature-based payload verification
Infrastructure
- Singleton BannedIPService with in-memory cache
- Automatic refresh every 5 minutes
- Retry logic with exponential backoff
Logging & Monitoring
- Client IP extracted from multiple headers
- Warn-level logs for banned or rate-limited IPs
- Request IDs and Correlation IDs for traceability
Validation & Safety
- Content-Length and Body Size restrictions (413)
- Payload schema enforcement (format + length)
- Graceful JSON parse fallback
Start tracking errors today
Get visibility into frontend and backend errors, block malicious requests, and secure your Next.js app — all in minutes.
Free to start · No credit card required