App and artifact upload failures return a JSON error. Inspect the status and error.code before retrying. Read responses are private and carry Cache-Control: private, no-store.
{"error":{"code":"not_found","message":"This result is unavailable."}}
| Status | Code | Meaning or recovery |
|---|---|---|
| 401 | unauthorized | Sign in again for an expired or ended app token. For an upload, use the transfer token supplied for that save. |
| 403 | forbidden, app_paused, quota_exceeded | Check consent and scope, the app's enabled state, or its storage limits, according to the code. |
| 404 | not_found | The requested resource is unavailable to this customer and app. |
| 409 / 410 | conflict / upload_expired | Check that the save ID and manifest match. For an expired transfer, begin the same save again. |
| 413 / 415 | too_large / unsupported_media_type | Check the size and permitted media type of the request. |
| 422 | invalid_request, digest_mismatch, incomplete | Check declared keys, values, file hashes or outstanding uploads. |
| 429 | rate_limited | Wait the number of seconds given in Retry-After. |
MCP tool failures use the MCP response envelope. A refused save_result reports the code at the start of its error text. Content MCP