php - An error occurs in demo of HUOBI API
Get the solution ↓↓↓Solution:
Ok, i just wan't that somebody be able to google it because huobi support refuses to confirm or fix the problem. If you're getting "account-frozen-account-inexistent-error" while placing new it's possible, that everything is ok with your account, but you have no funds for concrete asset. For example, you have 0 BTC and trying to sell some BTC to exchange them with USDT. You'll get this error instead of "insufficient balance" or something more appropriate
Answer
Solution:
you got the error message "account-get-balance-account-inexistent-error"
which means your account is not correct in define. Please make sure you've define the value beforehand.
define('ACCOUNT_ID', '');
define('ACCESS_KEY','');
define('SECRET_KEY', '');
Answer
Solution:
Firstly, Check your UID here:https://www.huobi.com/en-us/user_center/uc_info/ then get your account-id here get account-id
ReplaceXXXXXXX
indefine('ACCOUNT_ID', 'XXXXXXX')
by your account-id
Happy show hand :)
Share solution ↓
Additional Information:
Link To Answer People are also looking for solutions of the problem: illuminate\http\exceptions\posttoolargeexception
Didn't find the answer?
Our community is visited by hundreds of web development professionals every day. Ask your question and get a quick answer for free.
Similar questions
Find the answer in similar questions on our website.
Write quick answer
Do you know the answer to this question? Write a quick response to it. With your help, we will make our community stronger.