Question
401 Error running Ansible playbook
Hi,
I'm running an Ansible playbook to create a large number of objects in Fortigate. I'm using API token authentication.
At some point I always get the error below:
{"http_status": 401, "raw": ".......Unauthorized....This server could not verify that you\nare authorized to access the document\nrequested. Either you supplied the wrong\ncredentials (e.g., bad password), or your\nbrowser doesn't understand how to supply\nthe credentials required.
It seems like the session expires. How can I fix this?
Thanks.
