Policies
Troubleshooting
Common policy issues and how to resolve them
Policy Troubleshooting
Common issues with policy configuration and how to resolve them.
Policy Not Applying
Issue: User has wrong policy
Symptoms:
- User sees different limits than expected
- Wrong policy shown in preview
Causes:
- User has a user-specific override
- Role assignment overrides default
- Time-bound assignment expired
Solution:
- Check user-specific assignments first
- Check role assignments
- Verify effective dates on assignments
- Use Policy Preview to confirm
Issue: Policy changes not taking effect
Symptoms:
- Updated policy but users see old limits
- Rules not applying to new bookings
Causes:
- Policy is inactive
- Browser cache showing old data
- User session needs refresh
Solution:
- Verify policy is Active
- Have user refresh the page
- Check the rule is saved correctly
Issue: Can't set policy as default
Symptoms:
- Toggle not working
- Error when saving
Causes:
- Only one default per company
Solution:
- Setting new default automatically unsets the old one
- Check for save errors
Rule Matching Issues
Issue: Wrong rule is matching
Symptoms:
- Specific route rule not applying
- Catch-all rule matching instead
Causes:
- Priority not set correctly
- Route matching criteria incomplete
- City/country codes wrong
Solution:
- Check rule priorities (lower = higher precedence)
- Verify route details match exactly
- Use city codes not names
Issue: No rules matching
Symptoms:
- Policy default action applying unexpectedly
- "No matching rule" in evaluation
Causes:
- No catch-all rule exists
- Route criteria too specific
Solution:
- Add a catch-all rule (All flights / All hotels)
- Broaden matching criteria
Issue: Duration tiers not working
Symptoms:
- Wrong budget applying for flight length
- Base budget used instead of tier
Causes:
- Gaps in tier ranges
- Flight duration not calculated
- Tier ranges overlapping
Solution:
- Ensure tiers cover all durations (0 to infinity)
- Verify tier configuration is saved
- Check for range overlaps
Booking Issues
Issue: User can't book (blocked unexpectedly)
Symptoms:
- Booking blocked but should be allowed
- Error message about policy
Causes:
- Rule has BLOCK action override
- Budget is too low
- Cabin class / star rating not allowed
Solution:
- Check rule-level action overrides
- Review budgets against actual prices
- Verify allowed classes/ratings
Issue: All bookings requiring approval
Symptoms:
- In-policy bookings still need approval
- No direct booking available
Causes:
- Booking mode is "Request Only"
- Budget too restrictive
- Policy action is REQUIRE_APPROVAL
Solution:
- Check booking mode setting
- Review if bookings are actually in-policy
- Adjust default action or budgets
Issue: Violations not showing correct amounts
Symptoms:
- Excess amount seems wrong
- Currency mismatch
Causes:
- Currency conversion rates
- Different currencies in rule vs booking
Solution:
- Check currency rates in settings
- Verify rule currency matches common booking currency
Assignment Issues
Issue: Can't delete policy
Symptoms:
- Delete button fails
- Error about dependencies
Causes:
- Policy is default
- Policy has role/user assignments
Solution:
- Set another policy as default first
- Remove all role assignments
- Remove all user assignments
- Then delete
Issue: User assignment not working
Symptoms:
- User still gets role policy
- Override not applying
Causes:
- Effective dates wrong
- Assignment not saved
- User in wrong company
Solution:
- Check Effective From/Until dates
- Verify assignment appears in list
- Confirm user's company
Issue: Time-bound assignment expired
Symptoms:
- User suddenly has different policy
- Temporary upgrade no longer working
Causes:
- Effective Until date passed
Solution:
- Extend the date or create new assignment
Reason Code Issues
Issue: Reason codes not appearing
Symptoms:
- No dropdown during booking
- Users can't select justification
Causes:
- No active reason codes
- Codes not set for service type
- Action doesn't require codes
Solution:
- Create active reason codes
- Enable for Flights/Hotels as needed
- Reason codes only appear for REQUIRE_APPROVAL
Issue: Can't delete reason code
Symptoms:
- Delete fails
- Code still appears
Causes:
- Code used in historical violations
Solution:
- Deactivate instead of delete
- Inactive codes don't appear but preserve history
Performance Issues
Issue: Policy evaluation slow
Symptoms:
- Booking pages load slowly
- Timeout errors
Causes:
- Too many rules
- Complex duration tiers
Solution:
- Consolidate similar rules
- Use broader matching where possible
- Review total rule count
Getting Help
If you can't resolve an issue:
-
Document the problem:
- What policy/rule is involved
- What user is affected
- What behavior you expect vs. actual
-
Check the logs:
- Policy evaluation logs
- Violation logs
-
Contact support:
- Provide policy ID and user details
- Include screenshots of configuration