Why Is an Error Message "Invalid token" Displayed When Text Translation Is Invoked?
Description
I obtained the token. However, an error message "Invalid token" was reported when I called the text translation API.
Solution
- Check whether the token expires.
- If yes, update the token. The validity period of a token is 24 hours. Obtain the token and ensure that the token is within the validity period.
- If no, go to 2.
- Check whether the account is in arrears.
- If yes, top up the account.
- If no, contact technical support.
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.