Description | This article describes how to troubleshoot FortiWeb ML (Machine-Learning) based API Protection not collecting samples for Server Policy Domains. |
Scope | FortiWeb v7.4.X or later, FortiWeb Server Policy created with Machine Learning API Protection. |
Solution |
FortiWeb ML (Machine-Learning) Based API Protection supports JSON request body. It is possible to troubleshoot using debug command lines if FortiWeb is not collecting any API path samples for the ML-based API Protection.
diagnose debug reset
HTTP Return code is not 200 or 302. In the sample, the return code is 404, not added to the learning path.
URL content type is JSON, and the return code is '200 OK', URL added to learning path:
Related document: Configuring Machine Learning Based API Protection |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2025 Fortinet, Inc. All Rights Reserved.