---
title: Page Not Found (404)
description: The page you're looking for could not be found. Use the navigation below to find what you need.
hide:
  - navigation
  - toc
  - feedback
search:
  exclude: true
---

<style>
.error-container {
  text-align: center;
  padding: 2rem 0;
  max-width: 800px;
  margin: 0 auto;
}

.error-code {
  font-size: 6rem;
  font-weight: 300;
  color: var(--md-primary-fg-color);
  margin: 0;
  line-height: 1;
}

.error-title {
  font-size: 2rem;
  font-weight: 400;
  margin: 1rem 0;
  color: var(--md-default-fg-color);
}

.error-description {
  font-size: 1.1rem;
  color: var(--md-default-fg-color--light);
  margin: 1.5rem 0;
  line-height: 1.6;
}

.search-suggestion {
  background: var(--md-code-bg-color);
  border-radius: 0.4rem;
  padding: 1.5rem;
  margin: 2rem 0;
  border-left: 4px solid var(--md-primary-fg-color);
}

.quick-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}

.quick-link {
  background: var(--md-default-bg-color);
  border: 1px solid var(--md-default-fg-color--lightest);
  border-radius: 0.4rem;
  padding: 1.5rem;
  text-decoration: none;
  transition: all 0.2s ease;
  display: block;
}

.quick-link:hover {
  border-color: var(--md-primary-fg-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.quick-link h3 {
  margin: 0 0 0.5rem 0;
  color: var(--md-primary-fg-color);
  font-size: 1.2rem;
}

.quick-link p {
  margin: 0;
  color: var(--md-default-fg-color--light);
  font-size: 0.9rem;
}

.error-actions {
  margin: 2rem 0;
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.action-button {
  background: var(--md-primary-fg-color);
  color: var(--md-primary-bg-color);
  padding: 0.8rem 1.5rem;
  border-radius: 0.4rem;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
}

.action-button:hover {
  background: var(--md-accent-fg-color);
  transform: translateY(-1px);
}

.action-button.secondary {
  background: transparent;
  color: var(--md-primary-fg-color);
  border: 1px solid var(--md-primary-fg-color);
}

.action-button.secondary:hover {
  background: var(--md-primary-fg-color);
  color: var(--md-primary-bg-color);
}

@media screen and (max-width: 768px) {
  .error-code {
    font-size: 4rem;
  }

  .error-title {
    font-size: 1.5rem;
  }

  .quick-links {
    grid-template-columns: 1fr;
  }

  .error-actions {
    flex-direction: column;
    align-items: center;
  }
}
</style>

<div class="error-container">
  <h1 class="error-code">404</h1>
  <h2 class="error-title">Page Not Found</h2>
  <p class="error-description">
    Sorry, we couldn't find the page you're looking for. The link might be broken,
    or the page may have been moved or deleted.
  </p>

  <div class="search-suggestion">
    <h3>💡 Try searching instead</h3>
    <p>Use the search box at the top of the page (or press <kbd>Ctrl+K</kbd>) to find what you're looking for.</p>
  </div>

  <div class="error-actions">
    <a href="/" class="action-button">🏠 Go Home</a>
    <button onclick="history.back()" class="action-button secondary">← Go Back</button>
    <button onclick="window.location.reload()" class="action-button secondary">🔄 Reload Page</button>
  </div>

  <div class="quick-links">
    <a href="/getting-started/" class="quick-link">
      <h3>🚀 Getting Started</h3>
      <p>Installation and setup instructions for the Meraki Dashboard Exporter</p>
    </a>

    <a href="/config/" class="quick-link">
      <h3>⚙️ Configuration</h3>
      <p>Complete configuration reference with environment variables</p>
    </a>

    <a href="/metrics/" class="quick-link">
      <h3>📊 Metrics Reference</h3>
      <p>Complete reference of all available Prometheus metrics</p>
    </a>

    <a href="/collectors/" class="quick-link">
      <h3>🔧 Collectors</h3>
      <p>Collector overview and reference documentation</p>
    </a>

    <a href="/deployment-operations/" class="quick-link">
      <h3>🚢 Deployment</h3>
      <p>Production deployment and operations guide</p>
    </a>

    <a href="/integration-dashboards/" class="quick-link">
      <h3>📈 Integration</h3>
      <p>Prometheus and Grafana integration examples</p>
    </a>
  </div>

  <div style="margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--md-default-fg-color--lightest);">
    <h3>Popular Documentation Sections</h3>
    <ul style="text-align: left; display: inline-block;">
      <li><a href="/extending-collectors/">Extending Collectors</a></li>
      <li><a href="/metrics/overview/">Metrics Overview</a></li>
      <li><a href="/reference/endpoints/">HTTP Endpoints</a></li>
      <li><a href="/observability/otel/">OpenTelemetry</a></li>
    </ul>
  </div>

  <div style="margin-top: 2rem; font-size: 0.9rem; color: var(--md-default-fg-color--light);">
    <p>
      If you believe this is an error, please
      <a href="https://github.com/rknightion/meraki-dashboard-exporter/issues" target="_blank">report it on GitHub</a>.
    </p>
  </div>
</div>

<script>
// Enhanced 404 page functionality
document.addEventListener('DOMContentLoaded', function() {
  // Track 404 errors for analytics
  if (typeof gtag !== 'undefined') {
    gtag('event', 'exception', {
      description: '404_page_not_found',
      fatal: false,
      custom_map: {
        'missing_page': window.location.pathname
      }
    });
  }

  // Auto-focus search if available
  setTimeout(function() {
    const searchInput = document.querySelector('[data-md-component="search-query"]');
    if (searchInput && window.innerWidth > 768) {
      searchInput.focus();
    }
  }, 500);

  // Add keyboard shortcuts
  document.addEventListener('keydown', function(e) {
    // Press 'h' to go home
    if (e.key === 'h' && !e.ctrlKey && !e.metaKey && !e.altKey) {
      if (document.activeElement.tagName !== 'INPUT') {
        window.location.href = '/';
      }
    }

    // Press 'r' to reload
    if (e.key === 'r' && !e.ctrlKey && !e.metaKey && !e.altKey) {
      if (document.activeElement.tagName !== 'INPUT') {
        window.location.reload();
      }
    }
  });

  // Smart suggestions based on URL
  const path = window.location.pathname.toLowerCase();
  const suggestions = document.querySelector('.quick-links');

  if (path.includes('metric') || path.includes('prometheus')) {
    // Highlight metrics section
    const metricsLink = suggestions.querySelector('[href="/metrics/"]');
    if (metricsLink) {
      metricsLink.style.order = '-1';
      metricsLink.style.border = '2px solid var(--md-primary-fg-color)';
    }
  } else if (path.includes('config') || path.includes('setup')) {
    // Highlight configuration section
    const configLink = suggestions.querySelector('[href="/config/"]');
    if (configLink) {
      configLink.style.order = '-1';
      configLink.style.border = '2px solid var(--md-primary-fg-color)';
    }
  } else if (path.includes('deploy') || path.includes('docker') || path.includes('kubernetes')) {
    // Highlight deployment section
    const deployLink = suggestions.querySelector('[href="/deployment-operations/"]');
    if (deployLink) {
      deployLink.style.order = '-1';
      deployLink.style.border = '2px solid var(--md-primary-fg-color)';
    }
  }
});
</script>
