FortiGate
FortiGate Next Generation Firewall utilizes purpose-built security processors and threat intelligence security services from FortiGuard labs to deliver top-rated protection and high performance, including encrypted traffic.
sprashant
Staff
Staff
Article Id 366803
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