binance / binance/binance-connector-java
When using the official SDK to call /sapi/v1/accountSnapshot, an error occurs.
- Dominant language
- Java
- Stars
- 581
- Forks
- 255
- Avg merge
- 2m
- Merged PRs (30d)
- 2
Description
My code:
LinkedHashMap parameters = new LinkedHashMap<>();
parameters.put("type", "SPOT");
parameters.put("limit", 1);
String result = client.createWallet().accountSnapshot(parameters);
but return 404
The code where this error occurs is in package com.binance.connector.client.utils; line 38.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the 404 with the provided accountSnapshot call, then inspect package com.binance.connector.client.utils at line 38 and trace how the request is assembled. Compare the request for /sapi/v1/accountSnapshot with the endpoint expected by the Binance Spot API; done means the call returns a successful response instead of 404.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- api
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100