okx icon indicating copy to clipboard operation
okx copied to clipboard

API账号登录问题

Open 827346462 opened this issue 1 year ago • 1 comments

version okx 2.1.1 account = Account( key=key, secret=secret, passphrase=passphrase, flag=flag, proxies=proxies, proxy_host=proxy_host, ) config_result = account.get_config() 使用香港服务器直接请求会出现下面问题: okx.api._client.ResponseStatusError: Error response_status_code 401 response_content={"msg":"APIKey does not match current environment.","code":"50101"}

827346462 avatar Mar 05 '24 12:03 827346462

可以检查一下,是不是key和secret的错误,或者权限问题。

pyted avatar Mar 12 '24 06:03 pyted