The user name and password is wrong for this SP list while updating SP list from Query by scheduling on server.
The worker service account does not have permissions on the SP list
Please update the Sharepoint user and password on Foundation-- settings-- preferences --query settings--account preferences -query output to SP list as per below screenshot.
Enter SP admin username and password in system account and test .
Links to other articles/documentation/screenshots/examples/attachments