# Known Cloudflare errors

> Find the cause and fix for Cloudflare errors you can meet when you deploy or run Oyster, by error code. Covers 10021, 9432, Containers and Workers Paid.

These are the Cloudflare errors people meet when they deploy Oyster to their own
account, or use it afterwards. Find your error in the list. Each entry says what
it means and what to do.

| Error                                          | When                         | Section                                                |
| ---------------------------------------------- | ---------------------------- | ------------------------------------------------------ |
| `10021 Script startup exceeded CPU time limit` | `wrangler deploy`            | [10021](#10021-script-startup-exceeded-cpu-time-limit) |
| `9432` (`IMAGES_TRANSFORM_ERROR`)              | A reference image in Prints  | [9432](#9432-images_transform_error)                   |
| The Computer is not container-enabled          | Deploy, or building the Apps | [Containers](#containers-are-not-enabled)              |
| Bindings or migrations refused                 | `wrangler deploy`            | [Workers Paid](#workers-paid-is-missing)               |

For other problems, see [Troubleshooting](/troubleshooting/).

## 10021 Script startup exceeded CPU time limit

**Seen when:** you run `npx wrangler deploy`.

Cloudflare limits how long a Worker may spend starting. The unminified Oyster
bundle can go over that limit on some accounts, and the deploy is refused.

**Fix:**

1. Deploy with `npx wrangler deploy --minify`. Or set `"minify": true` and
   `"keep_names": false` in `wrangler.jsonc`. The example config sets `minify`
   already; add `keep_names` if your copy lacks it.
2. If it still fails, retry once. Startup can sit close to the limit.
3. Do not remove bindings to get under the limit.

## 9432 IMAGES_TRANSFORM_ERROR

**Seen when:** a Prints generation uses reference images. The message reads
"Cloudflare Images is not available on this Cloudflare account because it is on
legacy billing (Cloudflare error 9432)".

Prints fits reference images through the Cloudflare Images binding. Cloudflare
does not offer that binding to accounts on legacy billing. This is a setting on
your Cloudflare account, not in Oyster.

**Fix:**

1. Move the account to Cloudflare's current billing in the Cloudflare dashboard,
   under Billing. Or enable Cloudflare Images on the account.
2. Retry the reference.

Until then, generate without references. Every other Prints feature still works.

If every model shows "reference images unavailable in this App host", the
`IMAGES` binding is missing. It is a different problem. The standalone
`wrangler.jsonc` declares the binding, so check that your deploy uses it. See
[Reference images need Cloudflare Images](/guides/run-your-own-oyster/#reference-images-need-cloudflare-images).

## Containers are not enabled

**Seen when:** Wrangler says the Computer is not container-enabled, or the App
install says "This Oyster has no Computer to build the starter Apps on".

A deployed Oyster builds Apps and runs terminals on a Computer in a Cloudflare
Container. The local trial uses its own local Computer instead.

Check which one you are running:

- **The local trial** (`oyster try`) runs without containers on purpose. It
  starts its own local Computer. Starter Apps prepare in the background; a local
  runtime warning needs the trial recovery steps in
  [Troubleshooting](/troubleshooting/).
- **A deployed Oyster** needs these:
  - Workers Paid, with Containers enabled.
  - Docker running, because Wrangler uses it to build the Computer's image.
  - Artifacts, Workers AI, Workflows and Browser Rendering enabled.

**Fix:** start Docker and enable the missing products in the Cloudflare
dashboard. Deploy again from the same project, then run `install-apps`.
Reopening Shed cannot enable a missing Cloudflare service.

## Workers Paid is missing

**Seen when:** `wrangler deploy` refuses bindings or migrations. Oyster needs
Workers Paid, and the account may also lack a product Oyster binds.

**Fix:**

1. Put the account on Workers Paid in the Cloudflare dashboard.
2. Enable the products listed under [Containers](#containers-are-not-enabled).
3. Deploy `wrangler.jsonc` unchanged, except for `vars` and the bucket name.

An error that says an R2 bucket already exists is not a plan problem. Use that
bucket, or pick a new name in `wrangler.jsonc`.

## Where next

- [Self-host AI Agents and Apps with Oyster](/guides/run-your-own-oyster/)
- [Troubleshooting](/troubleshooting/)
