Skip to content

[bug]: Download creates empty file despite 404 error on shelbynet #35

@buraksk1

Description

@buraksk1

Affected product

SDK (JS/TS)

Version / Commit / Build

No response

Platform / Environment

MacOS

Steps to Reproduce

  1. Run: shelby context use shelbynet
  2. Run: shelby upload ~/Desktop/test.txt test/test.txt -e tomorrow --assume-yes
  3. Get error: "Blob already exists"
  4. Run: shelby download test/test.txt ~/Desktop/downloaded_test.txt
  5. CLI shows "404 Not Found" but file is created on desktop
  6. Downloaded file is completely empty (0 bytes)

Expected Behavior

Either download succeeds with correct content, or fails cleanly without creating an empty file.

Actual Behavior & Errors

CLI returns 404 error but still creates an empty file on desktop.
Upload also returns "Blob already exists" suggesting inconsistent state.

Logs / Screenshots

Contact (Optional)

No response

Pre-Checks

  • I've searched existing issues
  • This is not a security vulnerability (see SECURITY.md)

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions