logClientErrors

post

/ccstore/v1/logging/logClientErrors

Log Client Errors. Create an error log entry for client errors. Expects the JSON to contain an clientSideErrors array.

Request

Supported Media Types
  • application/json
Body Parameter
Root Schema : logClientErrors_request
Nested Schema : clientSideErrors
Type: array
The array of client side errors to print to error log.
Nested Schema : items
Type: object

Response

Supported Media Types
  • application/json
200 Response
Following model is returned when operation succeeds.
Body
Root Schema : logClientErrors_response
Default Response
The error response
Body
Root Schema : errorModel
Type: object
Nested Schema : errors
Type: array
An optional list of errors if multiple errors were encountered
Nested Schema : items
Type: object

Examples

Sample Request:

{"clientSideErrors": [{
  "clientErrorCode": "15006",
  "osVersion": "Win32",
  "line": "",
  "browserVersion": "Chrome 33.0.1750.154",
  "time": "2014-03-21T11:33:18.170Z",
  "message": "Error: Script error\nhttp://requirejs.org/docs/errors.html#scripterror",
  "locale": "en-US",
  "url": "http://localhost:9080/random"
}]}