# Fix ship.bad_resources

ship.bad_resources
Recorded exits: 1. [1]

docs_rev: 6fd264d5335b1cda
applies_to: source at 4aca9a8; agc >=0.3.0
verified: 4aca9a8
Generated from: fix/ship.bad_resources, targets/sizing-and-capacity, reference/agentcloud-toml-reference, reference/error-code-catalog

## Steps

Cause: `cpu` or `memory` is malformed or out of range
Next action: Fix the value in `agentcloud.toml`
[2]

Cause: `cpu`/`memory` out of range, or more than the app may ask for.
Next action: Lower them.
[3]

Cause: 400
Next action: agentcloud.toml has an invalid ‹what›. | In [service.web] or [service.worker], cpu is a number of CPUs from 0.1 to 64 (like 2) and memory is like "512Mi" or "4Gi" (64Mi to 256Gi). Fix it and ship again. | ship.ts:1972
[4]

## Errors

See the cited canonical pages for errors.

## Not available yet

Availability follows the cited sources; this answer does not establish additional capabilities.

## Sources

[1] [fix/ship.bad_resources — Reference](/docs/fix/ship.bad_resources.md#reference) (shipped; source at 4aca9a8; 4aca9a8)
[2] [targets/sizing-and-capacity — Errors](/docs/targets/sizing-and-capacity.md#errors) (shipped; agc >=0.3.0; 2026-11-24 @ 4aca9a8)
[3] [reference/agentcloud-toml-reference — Errors](/docs/reference/agentcloud-toml-reference.md#errors) (shipped; agc >=0.3.0; 2026-11-24 @ 4aca9a8)
[4] [reference/error-code-catalog — Reference](/docs/reference/error-code-catalog.md#reference) (shipped; agc >=0.3.0; 2026-11-24 @ 4aca9a8)

## Known issues

- [targets/sizing-and-capacity](/docs/targets/sizing-and-capacity/known-issues.md)
- [reference/agentcloud-toml-reference](/docs/reference/agentcloud-toml-reference/known-issues.md)
- [reference/error-code-catalog](/docs/reference/error-code-catalog/known-issues.md)

<!-- feedback:start -->
---
Wrong, outdated or unclear? Run `agc feedback docs "fix/ship.bad_resources: <what is wrong>; error ship.bad_resources" --body <file>` with the sentence quoted in the file. No code or app data is sent.
<!-- feedback:end -->
