# urbestack-fault-add

First published 21 Nov 2026 (release 0.2.31) · Unchanged since publication

UrbeStack release 0.2.35 command, run as root in the server shell.

## Usage

```
urbestack-fault-add < fault.json
```

## Description

Records an internal API fault for the usage report this server sends to UrbeStack. The API calls this command automatically for its own faults.

Reads one JSON object from standard input. Set where to the UrbeStack source file and line that raised the fault, and stack to the list of stack frames in UrbeStack code. Set kind to the status or error type, and from to the API operation.

Set message to the error text. Customer names in the message are replaced before it is stored. Set code to true for an error message generated by Perl to preserve a quoted identifier in the message.

When usage data sharing is off, the result has recorded set to false.
