This guide covers common issues you might encounter when using Flowise and their solutions. If you don’t find your issue here, check our FAQ or reach out on Discord.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/yocxy2/Flowise/llms.txt
Use this file to discover all available pages before exploring further.
Installation Issues
Port Already in Use
Problem: Flowise won’t start because port 3000 is already in use. Solution:- Change Port
- Kill Existing Process
Set a different port using environment variables:Or in your
.env file:JavaScript Heap Out of Memory
Problem: Build fails with “FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory” Solution: Increase Node.js memory allocation:- macOS/Linux/Git Bash
- Windows PowerShell
- Windows CMD
PNPM Version Mismatch
Problem: Installation fails with PNPM version errors. Solution: Flowise requires PNPM v10. Install the correct version:Node.js Version Issues
Problem: Compatibility errors during installation or runtime. Solution: Flowise requires Node.js >= 18.15.0 (< 19.0.0 or ^20):Runtime Issues
Components Not Appearing
Problem: Custom or community components don’t show up in the UI. Solutions:API Credentials Not Saving
Problem: API keys and credentials aren’t persisting after restart. Solutions:-
Check encryption key path:
-
Use consistent encryption key:
-
Check database permissions:
Database Connection Errors
Problem: Cannot connect to PostgreSQL or MySQL database. Solutions:PostgreSQL Connection Issues
PostgreSQL Connection Issues
Verify your environment variables:Test connection:For SSL connections:
MySQL Connection Issues
MySQL Connection Issues
Verify configuration:Test connection:
CORS Errors
Problem: Browser shows CORS errors when accessing Flowise API. Solution: Configure allowed origins:Development Issues
Hot Reload Not Working
Problem: Changes in development mode don’t reload automatically. Solutions:-
For UI/Server changes: Should reload automatically with
pnpm dev -
For component changes: Rebuild required:
-
Check
.envfiles exist:packages/ui/.envwithVITE_PORTpackages/server/.envwithPORT
Module Not Found Errors
Problem: Import errors or missing module errors during development. Solutions:TypeScript Errors
Problem: Type errors during development or build. Solution: Ensure you’re using the correct TypeScript version:Production Issues
File Upload Failures
Problem: Cannot upload files or attachments. Solutions:-
Check file size limit:
-
Verify storage configuration:
- Local Storage
- S3 Storage
- GCS Storage
Ensure path is writable:
Performance Issues
Problem: Slow response times or high memory usage. Solutions:Optimize Database
Optimize Database
Switch to PostgreSQL for better performance:Regular maintenance:
Reduce Logging
Reduce Logging
Lower log verbosity in production:
Scale Horizontally
Scale Horizontally
Deploy multiple Flowise instances behind a load balancer. Ensure:
- Shared database (PostgreSQL/MySQL)
- Shared storage (S3/GCS)
- Session affinity if needed
Docker Issues
Problem: Issues running Flowise in Docker. Solutions:Container Won't Start
Container Won't Start
Check logs:Ensure proper port mapping:
Volume Persistence
Volume Persistence
Mount volumes for data persistence:
Environment Variables
Environment Variables
Pass environment variables:Or use docker-compose with
.env file.API & Integration Issues
API Authentication Errors
Problem: External API calls failing with authentication errors. Solutions:- Verify API credentials are correctly saved in Flowise
-
Check API key format (some providers require prefixes like
sk-) -
Test credentials directly:
- Review rate limits on your API provider account
Custom Tool/Function Issues
Problem: Custom tools or functions not working. Solutions:-
Enable dependencies:
- Check function syntax in the custom tool editor
-
Enable debug mode:
Getting More Help
FAQ
Check frequently asked questions
Discord Community
Get real-time help from the community
GitHub Discussions
Search or start a discussion
Report Bug
File a bug report
Enable Debug Logging
For detailed troubleshooting, enable comprehensive logging:- Component initialization
- API calls and responses
- Database queries
- Error stack traces
- Request/response cycles