Container snapshots are point-in-time captures of a container’s filesystem and configuration. Use these endpoints to list, create, restore, rename, and delete snapshots for any container you own. Each container is subject to a snapshot limit that depends on the server it runs on — free-tier servers allow fewer snapshots than paid servers and rentals.
"message":"This container has reached its snapshot limit.",
"data":{
"field":"container_snapshot_limit",
"container_id":"507f1f77bcf86cd799439011",
"server_id":"507f1f77bcf86cd799439022",
"current_count":10,
"limit":10
}
}
Error Code
Title
Description
Resolution
CONTAINER_SNAPSHOT_LIMIT
Container snapshot limit reached
The container already holds the maximum number of snapshots allowed for its server. Containers on free-tier servers are capped lower than those on paid servers and rentals; the applicable limit is returned as max_snapshots when listing snapshots.
Delete an existing snapshot on this container before creating a new one.
SNAPSHOT_PRESPAWN_FORBIDDEN
Snapshots not allowed on a prespawn container
A prespawn container is not yet bound to the server it will finally run on, so a snapshot taken now could not be counted against the limits that will apply to it.
Claim the container first, then create snapshots on the claimed container.
VALIDATION_ERROR
Invalid input parameters
One or more request parameters failed validation.
Check the error message for specific field requirements and correct your input.
{
"statusCode":401,
"error":"Unauthorized",
"message":"Authentication required"
}
{
"statusCode":403,
"error":"Forbidden",
"message":"You do not have access to this container"
}
{
"statusCode":404,
"error":"Not Found",
"message":"Container not found"
}
{
"statusCode":409,
"error":"SNAPSHOT_OPERATION_IN_PROGRESS",
"message":"Another snapshot operation may be running for this container, or the service is temporarily unavailable. Nothing was created; retry shortly."
}
Error Code
Title
Description
Resolution
SNAPSHOT_OPERATION_IN_PROGRESS
Snapshot creation already running
Another snapshot creation is already in flight for this container. Concurrent creations are rejected so the snapshot limit cannot be exceeded.
Retry after a few seconds (see the Retry-After header).
container_finalizing
Container is being finalized
The container is still being claimed and refuses changes until that completes.
Retry in a few seconds.
{
"statusCode":500,
"error":"Internal Server Error",
"message":"Unexpected server error"
}
{
"statusCode":503,
"error":"SNAPSHOT_INVENTORY_UNAVAILABLE",
"message":"Unable to verify this container's snapshot inventory. No changes were made.",
"data":{
"field":"container_snapshot_limit",
"container_id":"507f1f77bcf86cd799439011",
"server_id":"507f1f77bcf86cd799439022",
"current_count":10,
"limit":10
}
}
Error Code
Title
Description
Resolution
SNAPSHOT_INVENTORY_UNAVAILABLE
Snapshot inventory could not be verified
The container’s live snapshot list could not be read, so the snapshot limit could not be checked. The request is refused rather than creating a snapshot that might exceed it.
"message":"You do not have access to this container"
}
{
"statusCode":404,
"error":"Not Found",
"message":"Snapshot not found"
}
{
"statusCode":500,
"error":"Internal Server Error",
"message":"Unexpected server error"
}
{
"statusCode":503,
"error":"SNAPSHOT_INVENTORY_UNAVAILABLE",
"message":"Unable to verify this container's snapshot inventory. No changes were made.",
"data":{
"field":"container_snapshot_limit",
"container_id":"507f1f77bcf86cd799439011",
"server_id":"507f1f77bcf86cd799439022",
"current_count":10,
"limit":10
}
}
Error Code
Title
Description
Resolution
SNAPSHOT_INVENTORY_UNAVAILABLE
Snapshot inventory could not be verified
The container’s live snapshot list could not be read, so the snapshot limit could not be checked. The request is refused rather than allowing a state that might exceed it.