diff --git a/pkg/bootstrap/bootstrap.go b/pkg/bootstrap/bootstrap.go index ab4d8971..b49f41ce 100644 --- a/pkg/bootstrap/bootstrap.go +++ b/pkg/bootstrap/bootstrap.go @@ -111,6 +111,9 @@ func FetchSandboxDetails(ctx context.Context, sid, token, serverURL string) (*Sa if err != nil { return nil, err } + if resp.StatusCode == 404 { + return nil, fmt.Errorf("sandbox not found: %s", sid) + } if resp.StatusCode != 200 { return nil, errors.New(resp.Status) }