Execute scheduled task: Refresh OAuth tokens for service accounts (core\oauth2\refresh_system_tokens_task) ... started 13:22:10. Current memory use 14.5 MB. Could not refresh OAuth 2 token. HTTP status for remote endpoint: 400 ... used 48 dbqueries ... used 19.321053028107 seconds Scheduled task failed: Refresh OAuth tokens for service accounts (core\oauth2\refresh_system_tokens_task),Could not refresh OAuth 2 token for one or more issuers. View task output for details.
I received the email from the task running and failing. I checked the task logs, my refresh task runs every 30 minutes. It was good this morning until 9:30, now it fails every time. I've been
through the forum posts and continue to come up empty. The only thing I have not tried is to connect to a system account. Seems illogical since Moodle says it is good, but the task keeps failing.
I don't have the password to the account that was used, and I'm afraid that if I change the account password, it may break something else. Has anyone been able to solve this another way?
Why is that endpoint reporting error 400?
I can't seem to access the token endpoint:
https://oauth2.googleapis.com/token |