The Fortigate web interface is a great management tool, unfortunately there might be a bug that prevents you from creating new rules or adding new objects to the device.
It’s possible to change the configuration by modifying existing objects but can’t create new ones.
The web interface lets you create the object but when you try to save it, the following error appears and the changes are discarded and you get a fallowing error:
“The cmdb add entry failed.”
The objects can still be created from the CLI but if you prefer to work from the web interface, it’s a bit frustrating.
As far as I know there is no fix for this error but to workaround it is very simple, you only need to restart the Fortigate unit and you can add new objects to the unit, until next time.
Update: I have noticed the latest firmware do not like the “-” sign if the “-” sign is used the saving process of new rules or objects can fail with the cmdb error.
Update2: trying to change objects/groups with spaces leads to error! objects with spaces can be edited only by CLI.