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账号登录问题 #9

Open
827346462 opened this issue Mar 5, 2024 · 1 comment
Open

API账号登录问题 #9

827346462 opened this issue Mar 5, 2024 · 1 comment

Comments

@827346462
Copy link

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"}

@pyted
Copy link
Owner

pyted commented Mar 12, 2024

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

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

2 participants