Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
16 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix(box): use canonical param ID for file normalization in params()
The params function must reference canonical IDs (params.file), not raw
subBlock IDs (uploadFile/fileRef) which are deleted after canonical
transformation. Matches the Dropbox block pattern.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
  • Loading branch information
waleedlatif1 and claude committed Mar 19, 2026
commit 6e5cd21ab0f8c029e4dad548b474865566be5593
4 changes: 1 addition & 3 deletions apps/sim/blocks/blocks/box.ts
Original file line number Diff line number Diff line change
Expand Up @@ -273,9 +273,7 @@ export const BoxBlock: BlockConfig = {
config: {
tool: (params) => `box_${params.operation}`,
params: (params) => {
const normalizedFile = normalizeFileInput(params.uploadFile || params.fileRef, {
single: true,
})
const normalizedFile = normalizeFileInput(params.file, { single: true })
if (normalizedFile) {
params.file = normalizedFile
}
Expand Down