Quick Diagnostics: Enable debug logging before troubleshooting:Or via ADB:
Initialization Issues
Error fetching configuration - please check that your workspace id & API key is correct
Error fetching configuration - please check that your workspace id & API key is correct
Symptoms:Causes:2. Check Credentials FormatEnsure your IDs are valid UUIDs (format: 8-4-4-4-12 hexadecimal digits):3. Enable AndroidContact your Customer Success Manager to verify Android is enabled for your workspace.
- Incorrect Workspace ID or API Key
- Using deprecated
projectIdinstead ofworkspaceId - Android not enabled for your workspace
Multiple Permutive instances detected
Multiple Permutive instances detected
Symptoms: Events tracked multiple times, undefined behavior.Cause: Creating more than one
Permutive instance.Solution: Use a singleton pattern:Event Tracking Issues
Schema validation failed
Schema validation failed
Symptoms:Causes:2. Check Property Types:3. Verify Schema in Dashboard:
- Property name doesn’t match dashboard schema
- Property type doesn’t match dashboard schema
- Property not defined in dashboard
- Log into Permutive dashboard
- Navigate to Events
- Find your event type
- Verify property names and types match your code
Events not appearing in dashboard
Events not appearing in dashboard
Symptoms: Events show as “Accepted” in logs but don’t appear in dashboard.Causes:
- Dashboard filter settings
- Time lag (events can take up to 5 minutes)
- Wrong workspace/environment
-
Check Logs: Verify events are accepted:
- Wait: Events may take up to 5 minutes to appear
-
Check Dashboard Filters:
- Verify date range includes now
- Check workspace selection
- Clear any active filters
- Verify Environment: Ensure you’re using production workspace ID
Invalid event name
Invalid event name
Symptoms:Cause: Event name contains invalid characters.Solution: Event names must contain only:
a-z, A-Z, 0-9, _Identity Issues
Identity not resolving
Identity not resolving
Symptoms: Setting identity doesn’t merge user data from other devices.Causes:
- Network connectivity issues
- Alias not previously used
- Timing - resolution takes a moment
-
Check Logs:
- Verify Network: Ensure device has connectivity
- Wait: Identity resolution isn’t instant, allow a few seconds
-
Debug:
Unhashed PII error
Unhashed PII error
Problem: Accidentally sending personally identifiable information.Solution: Always hash PII before setting as identity:
Cohort and Activation Issues
Empty cohorts list
Empty cohorts list
Symptoms:
currentCohorts returns empty list.Causes:- SDK just initialized - cohorts haven’t synced yet
- User hasn’t triggered events to qualify for cohorts
- Network issues
-
Wait for Initialization:
-
Use TriggersProvider: For reactive updates:
- Track Events: User needs to trigger events to qualify for cohorts
Contextual cohorts not appearing
Contextual cohorts not appearing
Symptoms:
dfp_contextual or appnexus_adserver_contextual are empty.Causes:- Feature not enabled
- SDK version too old
- Not tracking pages with URLs
- Classification in progress
-
Check SDK Version:
- Core: 1.10.0+
- Google Ads: 2.2.0+
- AppNexus: 1.7.0+
- Verify Feature Enabled: Contact Customer Success Manager
-
Track with URLs:
- Wait for Classification: First analysis takes 1-2 seconds
- Check URL Accessibility: URL must be publicly accessible
Ad Integration Issues
Ads not receiving cohorts
Ads not receiving cohorts
Symptoms: Ads load but don’t seem to be targeted.Causes:2. Verify LogsLook for:If this doesn’t appear, cohorts aren’t being added.3. Check Activations
- Not using add-on library helper methods
- Cohorts not ready when ad request made
- Dashboard activation configuration
Performance Issues
App slowdown
App slowdown
Symptoms: App performance degrades after SDK integration.Causes:3. Close Triggers
- Creating multiple Permutive instances
- Not closing PageTrackers/MediaTrackers
- Memory leaks from unclosed TriggerActions
Memory leaks
Memory leaks
Symptoms: App memory usage grows over time.Cause: Not closing SDK resources.Solution: Use Android Studio’s Profiler to identify leaks, then ensure all SDK resources are closed:
PageTracker.close()MediaTracker.stop()AdTracker.completion()TriggerAction.close()
Build Issues
ProGuard/R8 issues
ProGuard/R8 issues
Symptoms: App crashes in release build with minification enabled.Cause: SDK classes being stripped by ProGuard/R8.Solution: The SDK includes consumer ProGuard rules automatically. If you’re still experiencing issues:
-
Verify consumer rules are applied:
-
Test with debug logging:
Duplicate class errors
Duplicate class errors
Symptoms:Causes:Look for multiple versions of Permutive libraries.2. Force Version Resolution
- Multiple SDK versions in dependencies
- Transitive dependency conflicts
Debugging Tips
- Enable Logging
- Check SDK Version
- Verify Metrics
Getting Help
If you’re still experiencing issues:- Enable debug logging and capture logs
- Note the SDK version you’re using
- Document steps to reproduce the issue
- Gather SDK version, device info, and error logs