Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API Request Error(code=40019): Parameter [symbol-here] cannot be empty #37

Open
farynaio opened this issue May 10, 2023 · 0 comments
Open

Comments

@farynaio
Copy link

Hi, I try to call https://bitgetlimited.github.io/apidoc/en/spot/#get-candle-data with these settings

request_path: /api/spot/v1/market/candles?symbol=EPSUSDT_SPBL&period=1day&after=1675120108135&before=1683756508135&limit=10
url: https://api.bitget.com/api/spot/v1/market/candles?symbol=EPSUSDT_SPBL&period=1day&after=1675120108135&before=1683756508135&limit=10
method: GET
body: 
headers: {'Content-Type': 'application/json', 'ACCESS-KEY': 'access-key, 'ACCESS-SIGN':'access-sign', 'ACCESS-TIMESTAMP': '1683756508135', 'ACCESS-PASSPHRASE': 'access-passphrase'}

but get

response :  {"code":"40019","msg":"Parameter EPSUSDT_SPBL cannot be empty","requestTime":1683756572732,"data":null}
status: 400

Obviously EPSUSDT_SPBL is not parameter but value of parameter symbol. It looks like backend side of the endpoint is broken.

This looks similar to #28 but it's about different endpoint.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant