|Description||This article describes response error codes when REST-API.|
When REST-API is being used in FortiGate to retrieve or edit configuration, there might be an error response from the FortiGate as below.
Error code '-651' explains that invalid value is being used with the REST-API syntax.
Refer to all error codes.
"-1":"Invalid length of value.",