Reputation: 972
While implementing Push kit through HMS Coding Assistant I'am gettingthe given error error code : 80200003, error message : Oauth Token expired How to solve the issue
Upvotes: 0
Views: 848
Reputation: 33997
Reason
Error code 80200003 means that the token used by the Push Kit has expired. Normally the tool automatically reapplies for a new token. If the tool fails to reapply for it, the failure cause is also displayed.
Solution
If the fault persists, please restart the system. Besides, in the latest version 3.0.2.300, the tool automatically applies for a new token each time it is used. Therefore, the token will not expire.
You can use the auxiliary tools provided by Coding Assistant: Message Test and Error Codes, to automatically fill in the app token.
Message Test is a tool used to test the Push Kit's function of pushing messages from the server to phones. Error Codes: error codes and handling suggestions provided by Push Kit. Before debugging, ensure that Auto Analysis is enabled.
The process is as follows:
Parameter: Please Input your token
Setting: This parameter is automatically set when an app is running on a device.
a. When you run the app, the Event Log window prompts you whether to enable the log analysis function. Click Turn On.
b. Click Error Codes and turn on Auto Analysis in the upper right corner.
For more information, see docs.
Upvotes: 1