Heroku error

Also searched as: heroku crashed

Updated 11 October 2026

Short answer

Heroku's "Application error" page doesn't say what went wrong, but its logs do: every failure has a code. Run heroku logs --tail (or open logs in the dashboard) and look for code=. H10: the app crashed or didn't boot in time. H12: a request took longer than 30 seconds. H14: no web dynos are running, usually because they were scaled to zero. R14: the app is using more memory than its dyno allows.

What's the problem

Visitors see Heroku's "Application error" page, or your app returns 503 errors, often right after a deploy or when traffic picks up.

Why it happens

  • H10, app crashed: the app threw an error at startup or while running, often a missing config var or a missing dependency.
  • H12, request timeout: a slow database query or outside API call.
  • H14, no web dynos: web dynos scaled to 0, or no web process defined in the Procfile.
  • R14, memory quota exceeded: a memory leak or too many workers for the dyno size.

How to fix it

  1. Read the logs: heroku logs --tail, and find the code= on the failing requests.
  2. For H10, scroll up to the app's own error just before the crash. Check config vars and dependencies.
  3. For H12, find and speed up the slow request, or move the work to a background worker.
  4. For H14, scale up with heroku ps:scale web=1 and check your Procfile defines web.
  5. For R14, reduce memory use or move to a larger dyno.
  6. Roll back to the previous release if a deploy caused it.

What Preventionlabs checks

One click runs the full report on your domain. For this problem it shows whether your site loads, how fast, and where its redirects go; uptime checked every 5 minutes, with an email when the site goes down and when it is back; up to 50 pages from your sitemap, listing any that fail or are slow, plus broken links on them; your DNS: nameservers, addresses, DNSSEC, and records pointing at services that no longer exist; your domain's registration and expiry date. It has no connection to your host, so check the host's status page and logs as well.

Run your free report

Your first report is free, no card needed. Then A$50 a month, up to 10 domains. Read-only: it never changes anything.

Sources

  1. Heroku: Heroku Error Codesofficial docsA crashed web dyno or a boot timeout on the web dyno will present this error.
  2. Heroku: Heroku Error Codesofficial docsAn HTTP request took longer than 30 seconds to complete.
  3. Heroku: Heroku Error Codesofficial docsThis is most likely the result of scaling your web dynos down to 0 dynos.
  4. Heroku: Heroku Error Codesofficial docsA dyno requires memory in excess of its quota .
  5. Heroku: Heroku Error Codesofficial docsTo fix it, scale your web dynos to 1 or more dynos: $ heroku ps:scale web=1
  6. Heroku: Loggingofficial docsYou can tail your logs using --tail (or -t ).

Preventionlabs is independent and not affiliated with Heroku. Product names are used only to describe the problem.

← All of Hosting