Open PhilooLinux opened 12 hours ago
Hi @PhilooLinux ,
Thank you for raising this issue. I tested this on my FOS 7.4.5, and everything worked as expected. However, I encountered the same issue when I provided an incorrect token in the following configuration: ansible_httpapi_session_key={"access_token":"rkknN4QQ...."}
in host file. Could you please double-check if your token is valid? If that is not the reason, could you provide more details, such as your host file and playbook configuration, the authentication method you are using (token or username/password), and any other relevant information?
Thanks, Maxx
Hello,
I am using several playbooks against many Fortigate (50+) and recently I see all the ones running with FortiOS 7.4.5 failing with the error message:
The error was: ansible.module_utils.connection.ConnectionError: Expecting value: line 1 column 1 (char 0)
I am using:
and
Looking at the FortiOS Release Notes for 7.4.5, I fail to see any known issue or change regarding Rest API.
Could you help me solving this problem? Thanks.