Technical Tip: FortiGate Fails to Categorize API Traffic - Diagnosis and Fixes
| Description | This article describes how to address the 'A rating error occurs' message seen in FortiGate web filtering logs. This indicates that the firewall could not retrieve a valid web category rating from FortiGuard services for certain URLs, which may prevent access depending on the policy. |
| Scope | FortiGate. |
| Solution |
This message appears when a FortiGate firewall attempts to perform a web filter rating request via FortiGuard but fails to receive a valid response. This can result from various network or configuration issues.
A recent FortiOS upgrade may have changed how FortiGate handles domain categorization and FortiGuard communication. FortiGuard may have updated or deprecated certain FDS or SDNS IPs, making older/default configurations unreliable. New URL patterns (e.g., API endpoints with query strings) may now require real-time categorization instead of static lookups. Changes in DNS infrastructure or ISP policies may now block or delay access to FortiGuard services.
Recommendation:
config system fortiguard set sdns-server-ip 208.91.112.55 208.91.112.5 end
Cause:
Related article: |

