Common Issues & Solutions
This guide covers the most common issues users may encounter while using the Lead Scoring & AI Qualification Module and provides step-by-step solutions to resolve them quickly.
Issue: Leads Not Being Scored
Symptoms:
- Leads display a score of 0
- Dashboard statistics are empty
- Lead temperatures are not updating
- No conversion probabilities appear
Solution 1: Check Scoring Rules
- Navigate to Settings → Scoring Rules.
- Verify that scoring rules are enabled.
- Ensure the Active status is set to Yes.
Solution 2: Run Manual Score Update
- Navigate to Tools → Batch Score Leads.
- Select the leads you want to recalculate.
- Click Score Now.
- Wait for the scoring process to complete.
Solution 3: Verify Database Connection
- Go to Admin → Utilities → System Health.
- Verify the database status shows a green indicator.
- Check for any database connection errors.
Issue: Dashboard Shows Old Data
Symptoms:
- Dashboard statistics are outdated
- Lead counts are incorrect
- Recent activities are missing
- Charts are not updating
Solution 1: Clear Module Cache
- Navigate to Admin → Maintenance → Clear Cache.
- Select Lead Scoring.
- Clear the cache.
Solution 2: Refresh Browser Cache
- Perform a hard refresh using:
Windows: Ctrl + Shift + R Mac: Cmd + Shift + R
Solution 3: Recalculate All Scores
- Navigate to Tools → Recalculate All Scores.
- Start the recalculation process.
- Wait until processing completes.
Large lead databases may require several minutes to fully recalculate scores.
Issue: Permission Denied Error
Symptoms:
- Users cannot access the module
- Dashboard access denied
- Analytics pages fail to load
- Restricted access errors appear
Solution 1: Verify User Role Permissions
- Navigate to Admin → Roles & Permissions.
- Select the affected user role.
- Review Lead Scoring permissions.
Solution 2: Enable Required Permissions
Ensure the following permissions are enabled:
- lead_scoring/view
- lead_scoring/view_leads
- lead_scoring/view_analytics
- lead_scoring/manage_rules
Issue: API Returns 401 Unauthorized
Symptoms:
- API requests fail
- Authentication errors occur
- External integrations stop working
Solution 1: Verify API Token
- Ensure the API token is valid.
- Check for incorrect or missing API headers.
Solution 2: Check Token Expiration
- Verify the API key has not expired or been revoked.
Solution 3: Generate a New API Key
- Navigate to Settings → API Keys.
- Create a new API token.
- Update your external integration with the new key.
Issue: AI Summaries Not Generating
Symptoms:
- AI Summary tab is empty
- Summary generation fails
- AI recommendations do not appear
Possible Solutions
- Verify OpenAI or AI provider API key configuration.
- Check internet connectivity from the server.
- Ensure API usage limits have not been exceeded.
- Save and regenerate summaries from AI settings.
Issue: Slow Performance
Symptoms:
- Dashboard loads slowly
- Lead scoring takes too long
- Reports are delayed
Possible Solutions
- Increase PHP memory limit to 512MB or higher.
- Enable database indexing optimization.
- Clear old interaction logs if necessary.
- Run large recalculations during off-peak hours.
Error Logs
If problems continue, review the module error logs for detailed debugging information.
/logs/lead_scoring.log
General Troubleshooting Tips
- Keep Perfex CRM updated to the latest version.
- Verify server requirements meet module requirements.
- Clear cache after updating settings or rules.
- Deactivate and reactivate the module if needed.
- Check PHP error logs for additional details.
Warning: Always create a backup before making major configuration changes or running large score recalculations.