See Agility CMS in action. Watch a product demo
Admin Troubleshooting
This guide covers common administrative issues and how to resolve them.
Common Issues
Issue: Component Not Appearing
Symptoms:
- Component not showing on page
- Component name not found error
Solutions:
- Check component name matches frontend registration (case-insensitive)
- Verify component is saved and published
- Check user permissions (Designer role needed for component management)
- Verify component is registered in frontend code
Issue: Content Not Loading
Symptoms:
- Content not appearing in application
- API returns 404 or empty results
Solutions:
- Verify API keys are correct
- Check content is published (not just saved as draft)
- Verify locale matches content locale
- Check content model exists and is configured correctly
- Verify reference names are correct
Issue: Permission Denied
Symptoms:
- User cannot access content or features
- Permission errors in interface
Solutions:
- Check user's assigned role (Reader, Contributor, Editor, etc.)
- Verify item-level permissions for specific content models
- Check if user has appropriate permission (Read, Edit, Publish, etc.) for the action
- Ensure user has "Contribute" permission if trying to edit their own content
- Verify "Design/Develop" permission if accessing designer-only fields
Issue: API Errors
Symptoms:
- API calls failing
- 401 Unauthorized errors
- 404 Not Found errors
Solutions:
- Verify API keys are valid
- Check network connectivity
- Review API rate limits
- Check webhook configuration
- Verify instance GUID is correct
Issue: Cache Not Invalidating
Symptoms:
- Content not updating after publish
- Stale content appearing
Solutions:
- Verify webhook is configured correctly
- Check webhook security key matches
- Verify cache tags are correct
- Check webhook logs for errors
- Manually revalidate cache if needed
Issue: Preview Not Working
Symptoms:
- Preview mode not showing draft content
- Preview key errors
Solutions:
- Verify preview API key is set
- Check preview endpoint is accessible
- Verify draft mode is enabled
- Check preview key validation
- Ensure preview key hasn't been regenerated
User Management Issues
Issue: User Cannot Access Instance
Solutions:
- Check user role is not "None"
- Verify user is active
- Check user email is correct
- Verify user has been invited
Issue: User Has Wrong Permissions
Solutions:
- Review user's assigned role
- Check item-level permissions
- Verify role permissions match user's needs
- Update role assignment if needed
Content Model Issues
Issue: Content Model Not Saving
Solutions:
- Check required fields are filled
- Verify field names are valid
- Check for validation errors
- Ensure user has Designer permission
Issue: Content Model Changes Not Appearing
Solutions:
- Verify changes are saved
- Check if content model is published
- Clear cache if needed
- Verify frontend code matches model structure
Component Model Issues
Issue: Component Not Matching Frontend
Solutions:
- Verify component name matches frontend registration (case-insensitive)
- Check field names match TypeScript interfaces
- Ensure component is registered in frontend
- Coordinate with developers on component registration
API Key Issues
Issue: Invalid API Key
Solutions:
- Verify key is correct (no typos or extra spaces)
- Check correct key type (fetch vs preview)
- Ensure key hasn't been regenerated
- Update environment variables if key was regenerated
Issue: API Key Exposed
Solutions:
- Regenerate compromised key immediately
- Update all applications using the key
- Review access logs for unauthorized usage
- Update environment variables
Webhook Issues
Issue: Webhook Not Firing
Solutions:
- Verify webhook URL is correct and accessible
- Check webhook is enabled
- Verify events are selected
- Check webhook logs in Agility CMS
- Test webhook endpoint manually
Issue: Webhook Validation Failing
Solutions:
- Verify security key matches
- Check header name is correct (
x-agility-security-key) - Ensure key hasn't been regenerated
- Test webhook validation logic
Best Practices for Troubleshooting
- Check Logs: Review error logs and webhook logs
- Verify Configuration: Double-check all configurations
- Test Incrementally: Test changes one at a time
- Document Issues: Document problems and solutions
- Coordinate with Team: Work with developers and content editors
In this Article:
Was this article helpful?