burakoner / OKX.Api

Up-to-date, most-complete, well-organized, well-documented, easy-to-use, multi-task and multi-thread compatible OKX Cryptocurrency Exchange Rest and Websocket Api Wrapper
MIT License
39 stars 15 forks source link

api/v5/public/instruments failed because no ApiCredentials were provided. #32

Closed kayahasa closed 1 year ago

kayahasa commented 1 year ago

client.PublicData.GetInstrumentsAsync(type);

Request /api/v5/public/instruments failed because no ApiCredentials were provided.

Why this endpoint requires ApiCredentials? I tried via postman it is working.

It is interesting case. Can you please check ?

burakoner commented 1 year ago

It's my mistake. I've forgetten to remove signed flag from this endpoint. I've fixed it on my computer, But as you can see https://github.com/burakoner/OKX.Api/commit/3f621f79f681e60c673eb6db418e02220122de52 I'm prepairing for a big version update. So I cant fix it on release versions. I'll inform you when new version is released

burakoner commented 1 year ago

It's a big issue for me. So I've released a hotfix (1.2.5) on nuget. Thank you for your feedback