ergoplatform / ergoplatform/explorer-backend

Error 500 when calling getApiV1BoxesUnspentByaddressP1 on empty address

Open
#226 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Scala
Stars
23
Forks
37
PR merge metrics
No merged PRs in 30d

Description

When calling this endpoint with an address that does not have any boxes yet (no activity) an error 500 is given, instead of an empty list of items.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the getApiV1BoxesUnspentByaddressP1 request with an address that has no boxes or activity, then trace the endpoint's handler and response path. Done means the request returns an empty list of items rather than HTTP 500; no source files or tests are named in the issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
scala
Domain
api, backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.