paperclipai/paperclip · error · Error
Daytona syncOut directory download failed for
Error message
Daytona syncOut directory download failed for ${mapping.sourcePath}: ${response?.error ?? "no response returned"} What it means
Daytona sandbox provider error: downloading the syncOut directory from the Daytona workspace failed for the mapped source path; the message includes the provider error or notes that no response was returned.
Solutions
- Check the Daytona API error; verify the source directory exists and the sandbox is running, then retry.
Defensive patterns
Strategy: try-catch
When it happens
Trigger: Thrown at packages/plugins/sandbox-providers/daytona/src/file-sync.ts:964 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of paperclipai/paperclip@3f1d897a7c (2026-08-21).
Data as JSON: /api/errors/017fc159c1cdf902.
Report an issue: GitHub.
Appendix: source
Thrown at packages/plugins/sandbox-providers/daytona/src/file-sync.ts:1016
const dirResult = await syncInDirectoryMapping({
sandbox: input.sandbox,
mapping,
remoteDir: input.remoteDir,
timeoutSeconds: input.timeoutSeconds,
});
filesTransferred += dirResult.filesTransferred;
bytesTransferred += dirResult.bytesTransferred;
}
// Run the operation's ordered post-upload commands AFTER every file/directory
// mapping of this operation has landed. Absent/empty → no extra exec.
await runPostUploadCommands({
sandbox: input.sandbox,
commands: operation.postUploadCommands ?? [],
remoteDir: input.remoteDir,
timeoutSeconds: input.timeoutSeconds,
});
operations.push({ operationId: operation.operationId, filesTransferred, bytesTransferred });
}
return { operations };
}
// ---------------------------------------------------------------------------
// Outbound (sandbox → host)
// ---------------------------------------------------------------------------
async function syncOutFileMappings(input: {
sandbox: Sandbox;
mappings: PluginSyncFileMapping[];
remoteDir: string;
timeoutSeconds: number;
}): Promise<{ filesTransferred: number; bytesTransferred: number }> {
const { sandbox, mappings, remoteDir, timeoutSeconds } = input;
if (mappings.length === 0) return { filesTransferred: 0, bytesTransferred: 0 };
View on GitHub (pinned to 3f1d897a7c)