https://jon.sprig.gs/blog/post/929
Troubleshooting FortiGate API issues with the CLI?