> ## 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: Fix Common Square Cloud Errors

> Fix common Square Cloud errors: upload rejections, sites that don't load, EADDRINUSE, missing modules, Discord bot login failures and database SSL errors.

Your app failed to deploy, start or answer? Find the exact error below.

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

<CardGroup cols={2}>
  <Card title="Upload and deploy errors" icon="file-zipper" href="/en/platform/troubleshooting/app-wont-start#upload-and-deploy-errors">
    FILE\_TOO\_LARGE, INSUFFICIENT\_MEMORY, MISSING\_CONFIG, INVALID\_MAIN, INVALID\_VERSION, INVALID\_DEPENDENCY and KEEP\_CALM.
  </Card>

  <Card title="Website doesn't load" icon="globe" href="/en/platform/troubleshooting/app-wont-start#website-doesnt-load">
    A timeout page, "This site couldn't be found" or a site that works locally but not on Square Cloud.
  </Card>

  <Card title="App won't start" icon="server" href="/en/platform/troubleshooting/app-wont-start">
    EADDRINUSE, Cannot find module, ModuleNotFoundError, better-sqlite3 bindings and apps that stop right after starting.
  </Card>

  <Card title="Discord bot errors" icon="discord" href="/en/platform/troubleshooting/discord-bot-errors">
    Invalid token, 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 allowlists, timeouts, ECONNREFUSED and SSL/TLS errors.
  </Card>

  <Card title="Resource limits and statuses" icon="shield-dog" href="/en/platform/limitations-and-restrictions#limit-exceeded-statuses">
    LACK\_OF\_RAM, LACK\_OF\_CPU and CONTAINER\_TEMPORARILY\_SUSPENDED: what stops an app and how to fix it.
  </Card>
</CardGroup>

## Related guides

* [Configuration file](/en/getting-started/config-file): every field of `squarecloud.app` and the errors each one can raise.
* [Environment variables](/en/platform/environment-variables): set tokens and connection strings, and apply them with a restart.
* [squarecloud.ignore](/en/getting-started/squarecloud-ignore): make sure the CLI and VS Code don't leave out a file your app needs.
* [Help center](https://help.squarecloud.app/en-us/): step-by-step articles on domains, GitHub deploys, time zones and more.

## Contact us

If you continue facing **technical difficulties**, our **specialized support team** is available to assist you. [**Contact us**](https://squarecloud.app/en/support) and we'll be happy to help you resolve any issue: support quality is a big part of why developers rate Square Cloud [**4.9/5 across 402 reviews**](https://www.trustpilot.com/review/squarecloud.app) on Google and Trustpilot.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.