Common errors
RPC connection errors
If the Lumera RPC node is down or unreachable, client creation and blockchain transactions fail.Insufficient funds
Uploads need LUME to pay the action fee. An empty wallet fails with this error.Keplr extension not found
The user has not installed Keplr, or the page loaded before the extension injectedwindow.keplr. Wait for the extension before you access it.
Wallet popup rejected
Keplr and Leap ask the user to approve every signature request. A click on Reject surfaces as an error.SuperNodes unavailable
The task fails when no SuperNodes are online to handle your request.Upload timeout
Large files or slow networks can push a task past the default timeout of 5 minutes.taskOptions.
Action not registered
The transaction went through, but the SDK could not find theaction_registered event in the response.
- Add a short delay before uploading so the chain can finalize the transaction.
- Confirm the transaction succeeded on Lumera Portal.
- Make sure you hold enough funds for the action fee. The transaction may have failed on gas.
Action not found
The action was registered on chain, but the SuperNode has not indexed it yet, or the action ID is invalid. SN-API responds with a 404.- Verify the action exists on chain in Lumera Portal.
- Increase the timeout in
taskOptions. - Try a different SN-API endpoint.
Download failed or empty stream
The SuperNodes could not reconstruct the file. This happens with very recent uploads that are still processing, or with actions that have expired.- Wait a few minutes after upload before you attempt a download.
- Verify the action status with
client.Blockchain.Action.getAction(actionId). - Check that
state === "ACTION_STATE_DONE".
Private file access denied
A wallet that did not upload a private file cannot download it.isPublic: false. Connect with the wallet that created the action.
Automatic refunds
The storage fee is escrowed on chain when you register an action. The protocol refunds it to your wallet automatically in two cases.- The upload fails and the action ends in a failed state.
- The action expires because no SuperNode finalized it before its
expirationTime.
Built-in retries
The SDK retries failed HTTP requests with exponential backoff, which doubles the wait after each attempt. The defaults are listed below.
You can override the defaults when you create the client.
File uploads and downloads skip automatic retries because the request body or response stream can only be consumed once. The SDK retries everything else automatically, such as status checks and metadata queries.
Task options and status polling
SuperNodes process upload and download tasks asynchronously. The SDK polls the task status until the task completes, then returns the result. Two settings control the polling.Getting help
Next steps
Upload lifecycle
See every phase of an upload in detail.
Download lifecycle
Learn how files are reconstructed and streamed back.