-
Notifications
You must be signed in to change notification settings - Fork 108
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failing scheduled task #607
Comments
Hi @jwalits, The message from Zoom is saying that your account does not have permissions to use the Dashboard APIs. The plugin handles this by checking if the Dashboard scope has been granted: moodle-mod_zoom/classes/task/get_meeting_reports.php Lines 146 to 158 in aa82084
If you remove the Dashboard scopes from your Marketplace App, it should fix the error. Please let us know if the Marketplace app does not have those scopes granted and you continue to encounter the error. |
Thanks @jrchamp - I'll reach out to the team internally and see if they can remove that scope from the App. I dont have the access to the zoom side of things yet! Thanks again for the quick feedback. |
Hey @jrchamp I've been able to login and check the marketplace app. I have deleted the Dashboard scopes from that app and now we are seeing a different error
|
All of the Dashboard API endpoints start with Here's my hopeful guess: Maybe the scopes were cached and the cache wasn't cleared when the Marketplace app was updated. If it's working now, that's the most likely explanation, because the cache should have automatically expired by now. Are you still getting the same error? If so, then someone will need to enumerate all of the API calls that might be made and verify that Zoom's API is checking the correct set of scopes. |
Hey @jrchamp Apologies for the delay in getting back to you. I haven't had a chance to re-check that in the last few days. I actually disabled that task for now on the site - as it wasn't really needed and kept pinging our monitoring creating an alert. I'll re-check hopefully in the next few days to see if its still happening. |
Closing for now as this should be work and will be improved by #621. If you are still experiencing this issue, please reopen and provide additional details. |
We're constantly getting this error. It feels like the scheduled task should handle this failure a bit more gracefully rather than having to disable the scheduled task manually.
The text was updated successfully, but these errors were encountered: