Skip to content

[bug]: Cannot download blobs on shelbynet even after setting indexer API key #8

@rixa

Description

@rixa

Affected product

CLI

Version / Commit / Build

@shelby-protocol/cli (installed via npm global, latest at time of test) Aptos CLI v7.14.1

Platform / Environment

Linux

Steps to Reproduce

  1. Install Shelby CLI
  2. Run shelby init and create/import an account
  3. Upload a file:
    shelby upload test.txt test-lol.txt -e 24h
  4. Set indexer API key:
    shelby context update shelbynet --indexer-api-key <API_KEY>
  5. Try to download the blob:
    shelby download test-lol.txt cek.txt
Image

Expected Behavior

The uploaded blob should download successfully after a valid indexer API key is configured.

Actual Behavior & Errors

Download always fails with:

Authentication required.
Please add an indexer API key to your context configuration.

This happens even after:

  • setting the indexer API key via shelby context update
  • exporting APTOS_INDEXER_API_KEY
  • installing Aptos CLI
Image

Logs / Screenshots

Unable to attach screenshots via drag & drop (GitHub UI issue).

Relevant terminal output:
- Shelby CLI upload succeeds
- Shelby CLI download fails with:
  "Authentication required. Please add an indexer API key to your context configuration."

Indexer API key was already set via:
- `shelby context update shelbynet --indexer-api-key <REDACTED>`
- `export APTOS_INDEXER_API_KEY=<REDACTED>`
- Aptos CLI v7.14.1 installed

See error details in Steps to Reproduce above.

Contact (Optional)

rizafauziaja@gmal.com

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