The reason your Tencent Cloud account has a balance but returns an error code 1031 (insufficient balance) when sending a text message could be due to several reasons. One common cause is that the balance in your main account is not sufficient to cover the cost of sending the text message. In Tencent Cloud, there are different types of accounts and balances, such as the main account balance and the sub-account balance. If you are sending a text message from a sub-account, the system will check the balance of the sub-account rather than the main account.
Another possible reason is that there are restrictions or quotas on your account that prevent you from sending text messages even if you have sufficient balance. For example, your account may have a daily or monthly limit on the number of text messages you can send.
To resolve this issue, you can check the balance of both your main account and sub-account to ensure that you have sufficient funds. You can also check if there are any restrictions or quotas on your account that need to be adjusted.
If you need help managing your Tencent Cloud account and balances, you can use Tencent Cloud's billing and cost management services. These services provide detailed information about your account balance, usage, and costs, as well as tools for managing your spending and setting up alerts.
For example, you can use the Tencent Cloud Billing Center to view your account balance and transaction history, set up billing alerts, and manage your payment methods. You can also use the Tencent Cloud Cost Management service to analyze your spending patterns, identify cost-saving opportunities, and optimize your resource usage.
In summary, if you encounter error code 1031 when sending a text message on Tencent Cloud, it is important to check your account balance and any restrictions or quotas that may be affecting your ability to send messages. Using Tencent Cloud's billing and cost management services can help you manage your account more effectively and avoid such issues in the future.