Troubleshooting
Find solutions to common issues when working with Meibel AI.Authentication Issues
Invalid API Key Error
Problem: Getting “401 Unauthorized” or “Invalid API key” errors. Solutions:- Verify your API key is correct:
- Check the key hasn’t expired in the Console
- Ensure you’re using the correct header format:
Permission Denied
Problem: “403 Forbidden” errors when accessing resources. Solutions:- Verify your API key has the necessary permissions
- Check if you’re accessing resources in the correct organization
- Ensure you’re not exceeding plan limits
Connection Issues
Timeout Errors
Problem: Requests timing out before completion. Solutions:SSL Certificate Errors
Problem: SSL verification failures. Solutions:- Update your certificates:
- For development only (not recommended for production):
Rate Limiting
429 Too Many Requests
Problem: Hitting rate limits. Solutions:-
Implement exponential backoff:
- Use batch operations when possible
- Consider upgrading your plan for higher limits
Data Issues
Empty Response
Problem: Getting empty or null responses. Solutions:-
Check if datasource has content:
-
Verify confidence threshold isn’t too high:
Incorrect Results
Problem: AI returning inaccurate or irrelevant responses. Solutions:-
Improve your prompts:
-
Add more context to your data:
Performance Issues
Slow Response Times
Problem: API calls taking longer than expected. Solutions:-
Use streaming for long responses:
-
Optimize your queries:
- Use specific datasources instead of searching all
- Set appropriate token limits
- Enable caching when possible
Memory Issues
Problem: Running out of memory with large datasets. Solutions:-
Process data in batches:
- Use async operations for better resource usage
SDK-Specific Issues
Import Errors
Problem: Can’t import the Meibel AI SDK. Solutions:Version Conflicts
Problem: Dependency conflicts with other packages. Solutions:-
Use a virtual environment:
- Check Python version compatibility (requires 3.9+)
Debugging Tips
Enable Tracing
Get detailed execution information:Log API Calls
Monitor what’s being sent:Getting Help
If you’re still experiencing issues:- Check Status: Visit status.meibel.ai for service status
- Documentation: Review the API Reference
- Community: Ask questions in our community forum
- Support: Contact support@meibel.ai with:
- Error messages and stack traces
- Request IDs from error responses
- Steps to reproduce the issue
- SDK version and Python version