IntersectMBO / IntersectMBO/govtool
🐛 API Handle Error on Stake Address Validation During dRep Registration
- Dominant language
- HTML
- Stars
- 21
- Forks
- 29
- Avg merge
- 2d 22h
- Merged PRs (30d)
- 7
Description
### Area
Other
### Domain
preview.gov.tools
### Which wallet were you using?
_No response_
### Context
While attempting to register as a dRep, I encountered an issue when entering my stake/payment address. The console and network logs display a 406 error when fetching data from:
👉 API Endpoint: https://preview.api.handle.me/handles/address

### Steps to reproduce
1. Connect your wallet.
2. Navigate to the dRep registration form.
3. Enter a valid payment address.
4. Check the console or network logs for errors.
### Actual behavior
- The API request to fetch handle data results in an error, even though the address is valid:
**API Call:**
https://preview.api.handle.me/handles/addr_test1qq4gcrw0m6cvltwgdu8erz5slesf3taljssugvc6qskwjd59z7klhrz62z5n53salsurrxc62qw7hkadfwt5p88hxw3sante48
- The API returns an invalid response, but the UI does not display any error message.
- Additionally, multiple console errors appear whenever the payment address is updated.

### Expected behavior
- The payment address validation should work without errors.
- The UI should properly handle API failures and provide clear feedback to the user.
Contributor guide
Assessment
This issue has not been assessed yet.