Cisco ASA Syslog 342002: REST API Agent failed, reason: reason.
Reference for ASA firewall logs. Check the source documentation against your installed software version.
Cisco ASA message 342002
Severity 3 — Error
Message format
%ASA-3-342002: REST API Agent failed, reason: reason.Explanation
The REST API Agent could fail to start or crash for various reasons, and the reason is specified. • reason —The cause for the REST API failure
Plain-English interpretation
The REST API Agent process has failed or terminated unexpectedly, preventing API-based management and automation functions. This typically stems from resource exhaustion (Java heap memory), process crashes, or initialization failures that block management connectivity until the service recovers.
Recommended action
The actions taken to resolve the issue vary depending on the reason logged. For example, the REST API Agent crashes when the Java process runs out of memory. If this occurs, you need to restart the REST API Agent. If the restart is not successful, contact the Cisco TAC to identify the root cause fix.
Illustrative example
Illustration; not a captured production log.
Aug 15 14:32:47 fw-prod ASA: %ASA-3-342002: REST API Agent failed, reason: Java heap memory exhausted on process restart attemptThe REST API Agent process ran out of available Java heap memory and crashed while attempting to restart, requiring either manual intervention to increase heap allocation or a full device reboot to restore API management capabilities.
Search another message · Browse this range
Dataset generated May 29, 2026. Site content cleanup October 4, 2026; this is not a new Cisco documentation release.