IntersectMBO / IntersectMBO/govtool

🐛 API Handle Error on Stake Address Validation During dRep Registration

Open
#3,183 1 comment 0 reactions 1 assignee Claimed by @MSzalowski View on GitHub
🐛 Bug 🕵️‍♂️ Testing Other area
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

![Image](https://github.com/user-attachments/assets/22d8f31e-ffb7-42d0-ba79-4a9edcc2efef)

### 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.

![Image](https://github.com/user-attachments/assets/6a9ff0b6-6a16-4611-a23f-04f620a76f17)

### 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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.