4.3. Error Messages from a POST Operation

If the POST is accepted, the JSON response sent back by cOS Core will be the following:

{
  "error":false
}

If there is an error, cOS Core will return a message indicating the problem. For example, the following JSON message might be returned to the client:

{
  "error":true,
  "error_code":400,
  "error_message":"Bad Request, malformed"
}

The following is a complete list of POST error messages: