-
-
Notifications
You must be signed in to change notification settings - Fork 5
Troubleshooting
Having issues with VaultAI? This comprehensive guide covers common problems and their solutions. Most issues can be resolved quickly with the right approach.
"API key not working" or "Authentication failed"
Symptoms: Error messages about invalid API key, no responses from AI Solutions:
- Verify your API key - Copy it fresh from Google AI Studio
- Check for extra spaces - Paste in a text editor first to remove hidden characters
- Confirm API quota - Check your usage limits in Google AI Studio
- Test in browser - Verify the API key works outside Obsidian first
"Rate limit exceeded"
Symptoms: Responses stop working after heavy usage Solutions:
- Wait a few minutes - Rate limits reset automatically
- Check quota usage in Google AI Studio dashboard
- Consider upgrading to paid tier for higher limits
- Spread usage across longer time periods
"Chat icon not appearing"
Symptoms: No π€ icon in bottom-right corner Solutions:
- Check plugin status - Ensure VaultAI is enabled in Settings β Community Plugins
- Restart Obsidian - Close and reopen the app
-
Try keyboard shortcut - Press
Ctrl/Cmd+Shift+Vto toggle -
Clear cache - Reload Obsidian with
Ctrl/Cmd+R
"Chat opens but won't respond"
Symptoms: Chat interface appears but no AI responses Solutions:
- Verify API key - Check Settings β VaultAI for correct key
- Test internet connection - Ensure stable connectivity
- Check error console - Open Developer Tools (Ctrl+Shift+I) for error messages
- Try simple prompts - Start with basic questions
"Insert Mode not inserting content"
Symptoms: AI responds in chat but doesn't insert into document Solutions:
- Check cursor position - Ensure cursor is active in an editable document
- Verify Insert Mode - Look for green π button in chat
- Test in different note - Try in a new, simple note
- Check document permissions - Ensure note isn't read-only
"Content inserting in wrong location"
Symptoms: AI content appears somewhere unexpected Solutions:
- Click precisely - Ensure cursor is exactly where you want insertion
- Avoid text selection - Clear any selected text before using Insert Mode
- Use plain text notes - Test in markdown files without complex formatting
- Check for competing plugins - Disable other editing plugins temporarily
"Shortcuts not working"
Symptoms: Hotkeys don't trigger VaultAI commands Solutions:
- Check for conflicts - Look for duplicate hotkey assignments
- Test in different context - Try in various notes and views
- Reset hotkeys - Remove and reassign the shortcuts
- Restart after changes - Close and reopen Obsidian
"Command Palette not showing VaultAI"
Symptoms: No VaultAI commands in Ctrl/Cmd+P menu
Solutions:
- Enable plugin - Verify VaultAI is active
- Configure API key - Commands may hide without valid setup
- Search specifically - Type "vault" to filter commands
- Check command names - Look for exact command titles
Symptoms: AI takes too long to respond Potential causes & solutions:
Internet connection
- Test your connection speed
- Switch to wired connection if using WiFi
- Try during off-peak hours
API server load
- Google's servers may be busy
- Wait a few minutes and retry
- Consider switching to different Gemini model
Large document context
- Use
{{selection}}instead of{{content}}for large notes - Break large documents into smaller sections
- Clear chat history periodically
"Obsidian running slowly with VaultAI"
Solutions:
- Clear chat history - Delete old conversations in chat interface
- Restart Obsidian - Fresh start clears memory
- Limit concurrent usage - Don't run multiple AI requests simultaneously
- Check other plugins - Disable unnecessary plugins
"Plugin consuming too much memory"
Solutions:
- Update to latest version - Newer versions often have optimizations
- Reduce context size - Use shorter prompts and selections
- Monitor system resources - Close other heavy applications
- Consider device limits - Older devices may struggle with AI processing
Q: Can I use VaultAI offline? A: No, VaultAI requires internet connection to communicate with Google's Gemini API.
Q: Is my data secure? A: Yes! Your API key is stored locally and encrypted. Chat history stays in your vault and is never uploaded.
Q: Can I use other AI models? A: Currently VaultAI supports Google Gemini models only. Other models may be added in future updates.
Q: Does VaultAI work on mobile? A: VaultAI is designed for desktop Obsidian. Mobile support depends on Obsidian's mobile plugin capabilities.
Q: How much does the API cost? A: Google Gemini offers generous free tiers. Most users stay within free limits. Check Google AI pricing for details.
Q: Can I customize the AI model settings? A: Yes! Go to Settings β VaultAI to adjust temperature, max tokens, and model selection.
Q: How do I export my custom prompts? A: Custom prompts are stored in your vault's plugin data. Copy the VaultAI plugin folder to backup/transfer prompts.
Q: Can I use VaultAI in shared vaults? A: Each user needs their own API key. Plugin settings and prompts can be shared via vault sync.
"Invalid API key"
- Meaning: The provided API key is incorrect or expired
- Solution: Generate a new key from Google AI Studio
"Rate limit exceeded"
- Meaning: Too many requests sent too quickly
- Solution: Wait 1-5 minutes before trying again
"Network error"
- Meaning: Connection to Google's servers failed
- Solution: Check internet connection and try again
"Context length exceeded"
- Meaning: Your prompt or content is too long
- Solution: Use shorter selections or split into smaller requests
"Model not available"
- Meaning: Selected AI model is temporarily unavailable
- Solution: Try a different model or wait and retry
- Use targeted selections - Select specific text instead of entire notes
- Create focused prompts - Be specific about what you want
- Organize custom prompts - Keep frequently used prompts easily accessible
- Regular maintenance - Clear old chat history periodically
- Keep Obsidian updated - Latest versions have performance improvements
- Limit active plugins - Disable unused plugins
- Monitor system resources - Ensure adequate RAM and CPU
- Use SSD storage - Faster storage improves overall responsiveness
- Be specific in prompts - Clear instructions yield better results
- Provide context - Give AI relevant background information
- Use examples - Show the format or style you want
- Iterate and refine - Adjust prompts based on results
If you're still experiencing issues:
- π Report bugs on GitHub Issues
- π¬ Ask questions in GitHub Discussions
- π Search existing issues - Your problem might already have a solution
Please include:
- Obsidian version and operating system
- VaultAI version number
- Steps to reproduce the problem
- Error messages (exact text or screenshots)
- Console logs (if applicable)
To help diagnose issues:
-
Open Developer Tools (
Ctrl/Cmd+Shift+I) - Go to Console tab
- Look for red error messages
- Copy error text when reporting issues
π‘ Remember: Most issues are quick fixes! Don't hesitate to try the simple solutions first.
Intelligent AI Writing Assistant for Obsidian
π Home β’ β‘ Getting Started β’ π― Deep Editor β’ β¨ Custom Prompts β’ β¨οΈ Shortcuts β’ π οΈ Installation β’ π‘ Tips & Tricks
οΏ½ Report Issues β’ π‘ Feature Requests β’ οΏ½οΈ Discussions β’ β Troubleshooting
Made with β€οΈ by Neo β’ Transforming note-taking with AI