Sign in to access your error dashboard
Add two lines to your game's HTML to start capturing errors with video replay.
<script src="https://errorbuddy.app/error-buddy.js"></script>
<script>
ErrorBuddy.init({
gameId: 'your-game-id',
apiKey: '{{ orgApiKeys.length ? orgApiKeys[0].key : 'your-api-key' }}'
});
</script>
// Set game context (scene, level, score, etc.)
ErrorBuddy.setGameContext({ scene: 'boss-fight', level: 3 });
// Track game events
ErrorBuddy.addGameEvent('player-died', { cause: 'fall' });
// Identify the player
ErrorBuddy.setUser({ id: 'player-123', name: 'Bob' });
// Manually report a caught error
ErrorBuddy.reportError(caughtError);
Errors will appear here when your games report them via the Error Buddy SDK.
{{ errors.length }} error{{ errors.length !== 1 ? 's' : '' }} exist but {{ statusFilter === 'active' ? 'all are resolved' : 'none match the "' + statusFilter + '" filter' }}.
No errors match "{{ searchQuery }}". Try a different search term.
No console breadcrumbs captured
No network requests captured
No input data captured
No replay available for this error
Use this key as X-API-Key header when sending errors from the SDK.
Restrict which domains can use this API key. Leave empty to allow all origins. Supports wildcards (e.g. https://*.example.com).