| Description |
This article describes how to troubleshoot the behavior where errors are generated when accessing FortiNAC using REST API.
Example: FortiNAC responds to API calls with 'cannot contact device with this IP Address'. |
| Scope | FortiNAC verison 8.x, 9.x. |
| Solution |
1) Record API call submitted and response.
Example:
body Response
2) Enable debug. Log into the appliance CLI as root and type:
3) Reproduce behavior.
4) Disable debug. Type:
5) Retrieve system logs using grab-log-snapshot tool.
For instructions see the related KB article: https://community.fortinet.com/t5/FortiNAC/Technical-Tip-How-to-Use-grab-log-snapshot/ta-p/190755
6) Open a support ticket and attach the following: - FortiNAC version (x.x.x.x). - Reason for running the specific API call (desired goal). - Information attached in step 1. - System logs. |
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.