What Can I Do When Scheduled Task Failed to Start Leaving Message "can not get agency token"

When you use a subaccount to use scheduled task startup function, the account entrustment function must be used. Otherwise, the scheduled task fails to be started, leaving message "can not get agency token".

Solution

Two solutions are provided as follows: