- OS: CentOS
- Programming Language version: PHP 5.6.35
- CCXT version: 1.13.49
- Exchange: OKEX
- Method: withdraw
I am getting error_code 10006 from the OKEX API when attempting to make a withdrawal. Is anyone else having this issue?
Other methods such as placing orders, checking balances etc. work fine with the exact same API key and secret. withdraw_info however also gives error 10006.
I've checked and Withdraw privileges is definitely turned on for the API key in my OKEX account.
I've also contacted OKEX customer support and they've been telling me to change the withdrawal symbol from btc_usd to btc_usdt, and then from btc_usdt back to btc_usd over and over for a couple of days now.
If anyone has had the same problem please do let me know. Thank you very much in advance.
Here is the dump from CCXT:
Stack trace:
#0 /home/php/Exchange.php(957): ccxt\okcoinusd->handle_errors(200, '', 'https://www.oke...', 'POST', Array, '{"result":false...')
#1 /home/php/Exchange.php(801): ccxt\Exchange->fetch('https://www.oke...', 'POST', Array, 'api_key=cff1b19...')
#2 /home/php/Exchange.php(805): ccxt\Exchange->fetch2('withdraw', 'private', 'POST', Array, NULL, NULL)
#3 [internal function]: ccxt\Exchange->request('withdraw', 'private', 'POST', Array)
#4 /home/php/Exchange.php(740): call_user_func(Array, 'withdraw', 'private', 'POST', Array)
#5 [internal function]: ccxt\Exchange->ccxt{closure}(Array)
#6 /home/php/Exchange.php(1752): call_user_func_array(Object(Closure), Array)
#7 /home/php/okcoinusd.php(678): ccxt\Exchange->__call('privatePostWith...', Array)
#8 /home/p in /home/php/okcoinusd.php on line 721