# Fix first_party.bad_tree

first_party.bad_tree
Recorded exits: 1. [1]

docs_rev: 6fd264d5335b1cda
applies_to: source at 4aca9a8; agc >=0.3.0
verified: 4aca9a8
Generated from: fix/first_party.bad_tree, reference/error-code-catalog

## Steps

Cause: 400
Next action: The tree was refused: ‹e.message›. | Send the app’s files as a gzipped tar of regular files and folders only, with agentcloud.toml at its root. | first-party.ts:422, first-party.ts:567
[2]

## 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/first_party.bad_tree — Reference](/docs/fix/first_party.bad_tree.md#reference) (shipped; source at 4aca9a8; 4aca9a8)
[2] [reference/error-code-catalog — Reference](/docs/reference/error-code-catalog.md#reference) (shipped; agc >=0.3.0; 2026-11-24 @ 4aca9a8)

## Known issues

- [reference/error-code-catalog](/docs/reference/error-code-catalog/known-issues.md)

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