Open 827346462 opened 8 months ago
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"}
account = Account( key=key, secret=secret, passphrase=passphrase, flag=flag, proxies=proxies, proxy_host=proxy_host, ) config_result = account.get_config()
可以检查一下,是不是key和secret的错误,或者权限问题。
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"}