Error Authenticating Kucoin Sandbox
See original GitHub issueLanguage: Javascript (Node) Version number: 12.20.1 CCXT lib version number: ccxt@1.42.45 Exchange: Kucoin
kucoin = ccxt.kucoin({
apiKey: "",
secret: "",
password: ""
})
kucoin.setSandboxMode(true)
const fetchedPositions = await kucoin.fetchBalance()
console.log(fetchedPositions)
UnhandledPromiseRejectionWarning: AuthenticationError: Invalid KC-API-PASSPHRASE
I have checked multiple times, and I am sure I am using the correct apiKey, secret, and password. The live version authenticates fine
Issue Analytics
- State:
- Created 3 years ago
- Comments:11 (5 by maintainers)
Top Results From Across the Web
KuCoin API Documentation: General
Sandbox is the test environment, used for testing an API connection or web trading. It provides all the functionalities of the live exchange....
Read more >Cannot pass Google Authenticator verification to get Sandbox ...
I have been struggling with sandbox.kucoin.com for a couple of days already. ... I was constantly seeing the Internal Error notification.
Read more >python-kucoin Documentation - Read the Docs
Simple handling of authentication ... To test on the Sandbox register with Kucoin Sandbox. ... On an API call error a kucoin.exceptions.
Read more >Can't create KuCoin order with Google App Scripts
Solved above problem here is the code to post a buy order on KuCoin: ... host = 'https://openapi-sandbox.kucoin.com'; var timeStamp = ''+ ...
Read more >API Kucoin Futures - eSeGeCe
Requires an API Key, Secret and Passphrase to authenticate and uses HTTPs ... Sandbox: if enabled it will connect to Kucoin Demo Account...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@kroitor Thanks for testing it out. Let me know if KuCoin responds to you
@kroitor Thanks for the response. No, it does not answer my question. Before reporting the issue, I created a separate keypair at the sandbox link you shared, and it is giving me the error I shared above. I did not use live keys with the testnet. I used sandbox keys with the testnet and tried it two times with two separate accounts just to be sure.
I mentioned that the “live version authenticates fine” for context. I used the live keypair to check for that.
Can you confirm this on your end and let me know if the Kucoin sandbox works for you with a testnet keypair? Also, it will be great if you keep the issue open until you confirm that the sandbox works for you.