Skip to main content

F5005 - Failed to Obtain an F5 BIG-IP Authentication Token

Agent error code #F5005 indicates that the login request to /mgmt/shared/authn/login did not return a usable token, even though the agent reached the device. The response was missing the token, or the login endpoint returned an unexpected result that was not a clear authentication or authorization failure.

This is a catch-all for token issuance problems. When the cause is specific the agent reports the more precise code instead: bad credentials surface as #F5001 and an insufficient role as #F5002.

Common causes include:

  • The tmos (local) login provider is disabled or misconfigured on the BIG-IP
  • The iControl REST token service is not functioning as expected on this software version
  • The login response body was not in the expected shape

Steps to Resolve

Confirm Token Login Works

  1. Confirm the BIG-IP accepts a token login for the service account against the local (tmos) provider
  2. Confirm the account can log in to the Configuration utility directly with the same credentials

Confirm the iControl REST Service

  1. Confirm iControl REST is running and healthy on the device
  2. If the device was recently upgraded, confirm the management services restarted cleanly

Still Having Issues?

We can help you out, contact us at [email protected].