| Description | This article describes how to resolve the 'unmatched double quote' error seen after trying to add a new service-account-id on the FortiGate CLI. |
| Scope | FortiGate, FortiGateCloud. |
| Solution | The error occurs after applying the following to change or add a new FortiGateCloud user on FortiGate service-account-id:
If quotes (' ') are used on the account password, the 'unmatched double quote' error message is likely to appear. For example: execute fortiguard-log login emailexample@gmail.com prueba123"h"1'2'F global
This is due to the fact the password used has quotes (prueba123"h"1'2'F), which causes the error message. The command would instead be as follows:
There is no longer a 'Unmatched double quote.' error. If the account was real, it would work:
For more information on this behavior, search the following document for 'Special characters': CLI basics | FortiGate / FortiOS 6.2.0 | Fortinet Document Library. It is also possible to change the account password and then try again from the FortiGate CLI. For example:
execute fortiguard-log login emailexample@gmail.com prueba123h12F$ global
Related documents: |
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 2025 Fortinet, Inc. All Rights Reserved.