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.
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.
Hi @AntonioM ,
What profile does the user have ? Could you please try with super_admin user and share the outcome?
Regards!
Hi @dbu ,
I'm using a REST-API administrator with read-write permissions. Previously I also used a super-admin user and I got the same error.
Regards
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 |
---|---|
1502 | |
1013 | |
749 | |
443 | |
209 |
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.