Troubleshooting errors with the scheduler