Hi there,
we manage our guest-wifi via REST-API from our intranet. Everything worked fine since we updated the Fortigate to FortiOS 7.4.5. Now we get an error "[httpsd 10151 - 1727870754 info] api_access_check_for_api_key[657] -- Wrong vdom."
I was not able to find any REST-API documentation for this version to adapt my scripts.
We communicate via cURL to the Fortigate.
Is there someone who can assist me with a REST-API documentation for this version?
Here are the informations from the debug-log:
here is the info from the debug-log:
\[httpsd 10151 - 1727870754 info\] api_access_check_for_api_key[657] -- Wrong vdom.
[httpsd 10151 - 1727870754 warning] _lock_out_check_and_lock_out[416] -- Failed api-key login attempt from xxx.xxx.xxx.xxx. (1/3 attempts within 120s).
[httpsd 10151 - 1727870754 info] fweb_debug_final[355] -- Completed GET request for "/api/v2/cmdb/wireless-controller/wtp/" (HTTP 403 Forbidden)
[httpsd 10149 - 1727870754 info] fweb_debug_init[531] -- New GET request for "/api/v2/cmdb/user/group/WiFi-xxxxxxxx/" from "xxx.xxx.xxx.xxx:52146"
[httpsd 10149 - 1727870754 info] fweb_debug_init[533] -- User-Agent: "(null)"
[httpsd 10149 - 1727870754 info] fweb_debug_init[535] -- Handler "api_cmdb_v2-handler" assigned to request
[httpsd 10149 - 1727870754 info] api_access_check_for_api_key[657] -- Wrong vdom.
[httpsd 10149 - 1727870754 warning] _lock_out_check_and_lock_out[416] -- Failed api-key login attempt from xxx.xxx.xxx.xxx. (2/3 attempts within 120s).
[httpsd 10149 - 1727870754 info] fweb_debug_final[355] -- Completed GET request for "/api/v2/cmdb/user/group/WiFi-xxxxxxxx/" (HTTP 403 Forbidden)
Waiting for answers
Matthias Kirchhoff
Nominating a forum post submits a request to create a new Knowledge Article based on the forum post topic. Please ensure your nomination includes a solution within the reply.
Hello,
Thank you for reaching out. I found a possible match with an internal dev team open project where they are currently working on testing a possible fix to be added in future release. I recommend creating a support ticket on forticare for proper followup. Mainly the following debugs would be required to investigate:
diagnose debug application httpsd -1
diagnose debug application nodejs -1
diagnose debug enable
Thank you,
saleha
Created on 10-24-2024 05:25 AM Edited on 11-10-2024 10:14 PM
Hallo saleha,
here is the info from the debug-log:
\[httpsd 10151 - 1727870754 info\] api_access_check_for_api_key[657] -- Wrong vdom.
[httpsd 10151 - 1727870754 warning] _lock_out_check_and_lock_out[416] -- Failed api-key login attempt from xxx.xxx.xxx.xxx. (1/3 attempts within 120s).
[httpsd 10151 - 1727870754 info] fweb_debug_final[355] -- Completed GET request for "/api/v2/cmdb/wireless-controller/wtp/" (HTTP 403 Forbidden)
[httpsd 10149 - 1727870754 info] fweb_debug_init[531] -- New GET request for "/api/v2/cmdb/user/group/WiFi-xxxxxxxx/" from "xxx.xxx.xxx.xxx:52146"
[httpsd 10149 - 1727870754 info] fweb_debug_init[533] -- User-Agent: "(null)"
[httpsd 10149 - 1727870754 info] fweb_debug_init[535] -- Handler "api_cmdb_v2-handler" assigned to request
[httpsd 10149 - 1727870754 info] api_access_check_for_api_key[657] -- Wrong vdom.
[httpsd 10149 - 1727870754 warning] _lock_out_check_and_lock_out[416] -- Failed api-key login attempt from xxx.xxx.xxx.xxx. (2/3 attempts within 120s).
[httpsd 10149 - 1727870754 info] fweb_debug_final[355] -- Completed GET request for "/api/v2/cmdb/user/group/WiFi-xxxxxxxx/" (HTTP 403 Forbidden)
Hello Matthias,
Please to check that if you are using trusted hosts, they are set in the admin and the API User. Would you also please to regenerate the API key and try again?
Thank you
Regards
Luca
Select Forum Responses to become Knowledge Articles!
Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.
User | Count |
---|---|
1732 | |
1106 | |
752 | |
447 | |
240 |
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 2024 Fortinet, Inc. All Rights Reserved.