{"record":{"id":"017fc159c1cdf902","repo":"paperclipai/paperclip","slug":"daytona-syncout-directory-download-failed-for-ma","errorCode":null,"errorMessage":"Daytona syncOut directory download failed for ${mapping.sourcePath}: ${response?.error ?? \"no response returned\"}","messagePattern":"Daytona syncOut directory download failed for (.+?): (.+?)","errorType":"exception","errorClass":"Error","httpStatus":null,"severity":"error","filePath":"packages/plugins/sandbox-providers/daytona/src/file-sync.ts","lineNumber":1016,"sourceCode":"      const dirResult = await syncInDirectoryMapping({\n        sandbox: input.sandbox,\n        mapping,\n        remoteDir: input.remoteDir,\n        timeoutSeconds: input.timeoutSeconds,\n      });\n      filesTransferred += dirResult.filesTransferred;\n      bytesTransferred += dirResult.bytesTransferred;\n    }\n\n    // Run the operation's ordered post-upload commands AFTER every file/directory\n    // mapping of this operation has landed. Absent/empty → no extra exec.\n    await runPostUploadCommands({\n      sandbox: input.sandbox,\n      commands: operation.postUploadCommands ?? [],\n      remoteDir: input.remoteDir,\n      timeoutSeconds: input.timeoutSeconds,\n    });\n\n    operations.push({ operationId: operation.operationId, filesTransferred, bytesTransferred });\n  }\n  return { operations };\n}\n\n// ---------------------------------------------------------------------------\n// Outbound (sandbox → host)\n// ---------------------------------------------------------------------------\n\nasync function syncOutFileMappings(input: {\n  sandbox: Sandbox;\n  mappings: PluginSyncFileMapping[];\n  remoteDir: string;\n  timeoutSeconds: number;\n}): Promise<{ filesTransferred: number; bytesTransferred: number }> {\n  const { sandbox, mappings, remoteDir, timeoutSeconds } = input;\n  if (mappings.length === 0) return { filesTransferred: 0, bytesTransferred: 0 };\n","sourceCodeStart":998,"sourceCodeEnd":1034,"githubUrl":"https://github.com/paperclipai/paperclip/blob/3f1d897a7c018d76563a21c6e39c3c9b03933622/packages/plugins/sandbox-providers/daytona/src/file-sync.ts#L998-L1034","documentation":"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.","triggerScenarios":"Thrown at packages/plugins/sandbox-providers/daytona/src/file-sync.ts:964 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Check the Daytona API error; verify the source directory exists and the sandbox is running, then retry."],"exampleFix":null,"handlingStrategy":"try-catch","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"3f1d897a7c018d76563a21c6e39c3c9b03933622","analyzedAt":"2026-08-21T17:58:32.592Z","contentChangedAt":"2026-08-21T17:58:32.592Z","schemaVersion":2},"datasetVersion":"2026-09-23T08:17:48.524Z"}