Skip to main content
gpeluso
Staff
Staff
August 15, 2025

Troubleshooting Tip: How to resolve the error 'User device store query error (error code: -1)'

Description This article describes how to resolve the error 'User device store query error (error code: -1)' under the 'Assets & Identities' and 'Asset inventory Monitor' widgets.
Scope All FortiOS.
Solution

The error 'User device store query error (error code: -1)' is usually caused by high memory usage for unified queries.

 

Asset & Identities.png

 

Asset_Inventory_Monitor.png

 

In this case, the solution may be to clear up the memory with the following command:

 

diagnose user-device-store unified clear

 

If the problem is not resolved with the command above, proceed to collect the output of the debug commands below and attach the logs to a new TAC ticket for further analysis.

 

diagnose debug enable

diagnose user-device-store unified debug disable

diagnose wad debug enable category info

    Thought Leadership. Security Summit. Thursday, November 12th, PGA National Resort, Palm Beach Gardens, FL.
    Security Operations Summit: Modernize SecOps. Operate AI-Native.AMER: November 4 | 9:00 AM PST. India and SAARC: November 5 | 10:00 AM IST. EMEA: November 5 | 10:30 AM CET. APAC: November 5 | 11:00 AM SGT