202050 - Failed to Update Trusted Host
Uploading..Agent error code #202050 indicates that the agent could not update the trusted host entry on a FortiManager administrator account. This error applies to Active (FortiManager Trusted Hosts) mode only, where Knocknoc manages the 10th trusted host slot on FortiManager admin users.
The error message includes additional detail about the underlying cause (e.g., authentication, authorization, or an unexpected API response).
Common causes include:
Steps to Resolve
Verify the API User's Admin Profile
/cli/global/system/admin/user/) requires Super_User privileges — no custom profile is sufficient
Verify the Target Admin User Exists
Navigate to System Settings > Administrators on FortiManager Confirm the administrator account matching the Knocknoc username exists and is enabled The Knocknoc username must match the FortiManager Administrator username exactly (see also #202051)Check the Target Admin User's Trusted Host Configuration
Check Agent Logs for Details
Still Having Issues?
We can help you out, contact us at support@knocknoc.io.