Skip to main content
sprashant
Staff
Staff
December 26, 2024

Technical Tip: Unable to log-in via REST API after firmware upgrade

  • December 26, 2024
  • 0 replies
  • 592 views
Description This article highlights the case where after a firmware upgrade REST API stops working.
Scope FortiGate.
Solution

When using the REST API login, especially in a Multi-VDOM environment, ideally an upgrade should not affect anything.

There can be some instances where REST API stops pulling the information from the FortiGate and shows errors like:

'login failed from https(redacted) because of incorrect login vdom'.

 

In such cases, have the API key regenerated and then use the regenerated key in the API call.

 

1..PNG

 

2..PNG

 

3..PNG