report error
/error/report [POST]
| API Support | Available since | Last updated | Output |
|---|---|---|---|
| 4.8008 | 6.0008 | json, xml |
Description
Report an error to the appropriate person.
This service allows system errors to be sent by email to a configurable address. The address is not necessarily the address of an existing member and can be an address for a support person.
Configuration
For this service to be functional, ensure that the errorReportAddress property is defined in the default Group Properties.
Parameters
| Name | Description | Required | Type | Default |
|---|---|---|---|---|
| content | The content to be reported, usually a stack trace and/or some system information at time of error | yes | string | |
| notify-async | Whether emails are sent asynchronously (for slow email servers) | no | boolean | false |
Permission
The user must be authenticated.
Response
The XML acknowledges that the message was sent:
<error-report report-sent="true" />
Or in JSON:
{
"reportSent":"true"
}
Error Handling
No specific errors expected for this service.