> ## Documentation Index
> Fetch the complete documentation index at: https://docs.squarecloud.app/llms.txt
> Use this file to discover all available pages before exploring further.

# Troubleshooting Square Cloud Applications | Common Errors & Fixes

> Fix common Square Cloud errors: EADDRINUSE, Cannot find module, INVALID_DEPENDENCY, CONTAINER_TEMPORARILY_SUSPENDED, KEEP_CALM, Discord bot login failures, and database connection errors.

Your app failed to start or behaves unexpectedly? Find the exact error below.

Each page below is organized by the literal error message or status code Square Cloud shows in your logs or dashboard, with what it means, why it happens, and how to fix it.

<CardGroup cols={2}>
  <Card title="App won't start" icon="server" href="/en/platform/troubleshooting/app-wont-start">
    EADDRINUSE, Cannot find module, INVALID\_DEPENDENCY, CONTAINER\_TEMPORARILY\_SUSPENDED, KEEP\_CALM, better-sqlite3 bindings errors, and LACK\_OF\_RAM.
  </Card>

  <Card title="Discord bot errors" icon="discord" href="/en/platform/troubleshooting/discord-bot-errors">
    LoginFailure / TOKEN\_INVALID, disallowed intents, Lavalink code 1006, and bots that go offline after working locally.
  </Card>

  <Card title="Database connection errors" icon="database" href="/en/platform/troubleshooting/database-connection-errors">
    "Host is not allowed to connect", MongoNetworkError / Atlas IP whitelist failures, connection timeouts, ECONNREFUSED, and SSL/TLS errors.
  </Card>

  <Card title="Limits and Restrictions" icon="shield-dog" href="/en/platform/limitations-and-restrictions">
    RAM/CPU allocation rules, network limits, storage limits, and the LACK\_OF\_RAM / LACK\_OF\_CPU statuses in full detail.
  </Card>
</CardGroup>
