Troubleshooting

This section covers how to troubleshoot Quanta.

Even though Quanta aims to simplify answering quiz questions, you might encounter some issues. Here are some common problems and their solutions:

"The 'Get Answer with Quanta' button isn't appearing."

  1. Check the URL: Ensure you are on a Moodle quiz page. Quanta is designed specifically for Moodle and may not work on other websites.
  2. Wait for the page to load: If the quiz loads questions dynamically, it might take a moment for the button to appear. Quanta uses a MutationObserver to detect these changes, but it's not always instantaneous.
  3. Check the developer console: Open the developer console (F12 or Ctrl+Shift+I) and look for any errors related to Quanta.

"I'm getting an error about my API key."

  1. Verify your API key: Double-check that you have entered the correct API key in the extension's popup.
  2. Check your provider's dashboard: Your API key may be invalid or you may have run out of credits. Log in to your AI provider's dashboard (Google AI Studio, OpenAI Platform, etc.) to check the status of your API key.
  3. Ensure the model is correct: If you are using OpenRouter, make sure you have entered the correct custom model ID for premium models.

"The AI gave me the wrong answer."

The AI models, while powerful, are not infallible and can make mistakes. It's always a good practice to review the answers provided by Quanta before submitting your quiz. If you consistently get incorrect answers, you can try switching to a different AI model or provider in the extension's settings.

"The extension is highlighting the wrong element on the page."

Quanta does its best to identify the correct answer choices, but the structure of Moodle quizzes can sometimes be complex. If the extension is highlighting the wrong element, it's likely due to an unexpected page layout. If you encounter this, please open an issue on the project's GitHub page and provide a screenshot of the quiz page so we can improve Quanta's detection logic.

On this page