Hello Community,
I am attempting to POST an additional firewall policy using the API method. Getting back a 424 Failed dependency. I have always included the API key, and have also tried optionally setting vdom, datasouce, and with_meta but none resolved the issue. Although they are all not checked in the screenshot, they each have been tried. Here is a screenshot from Postman.
Body is JSON format, as follows
{
"name": "TEST",
"srcintf": [
{
"name": "lan"
}
],
"dstintf": [
{
"name": "lan"
}
],
"action": "accept",
"srcaddr": [
{
"name": "all"
}
],
"dstaddr": [
{
"name": "all"
}
],
"schedule": {
"q_origin_key": "always"
},
"service": [
{
"name": "ALL"
}
],
"nat": "enable"
}
Any thoughts on what this could be depending on?
Appreciate it
For API POST and PUT methods you need to include the CSRF Token. You can only access GET requests with the API Key.
User | Count |
---|---|
143 | |
70 | |
64 | |
42 | |
37 |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2023 Fortinet, Inc. All Rights Reserved.