# ServerSheetControl.getWarnings Method

> ServerSheetControl.getWarnings method in the TX Sheet Control JavaScript API for Node.js: Read merge/export warning strings.

- **Product:** TX Sheet Control
- **Section:** Documentation
- **Kind:** Method
- **Path:** TX Sheet Control > API Reference > JavaScript API > Node.js Server > ServerSheetControl > ServerSheetControl.getWarnings Method
- **306 words**
- **Web URL:** https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/nodejs/serversheetcontrol/getwarnings-method/
- **LLMs URL:** https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/nodejs/serversheetcontrol/getwarnings-method/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/nodejs/serversheetcontrol/getwarnings-method/llms-full.txt

---

Read merge/export warning strings.

Owner: [ServerSheetControl](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/nodejs/serversheetcontrol/llms-full.txt). Package: `@txtextcontrol/tx-sheet-control-server`. Version: **2.0.0**.

### Syntax

```javascript
owner.getWarnings()
```

This overload has no parameters.

### Return Value

`readonly string[]`.

A detached result or a handle bound to the same worksheet.

### Examples

Pass an existing ServerSheetControl from the owning document. Related handles and input bytes must belong to the intended document and application; the function applies the operation and inspects its result.

```javascript
function inspectServerSheetControlGetWarnings(sheetControl) {
    const result = sheetControl['getWarnings']();
    console.log(result);
}
```

### Remarks

Use this member on an object from the current document. Reacquire document-bound handles after replacement/deletion. Validate arguments against the declared types and documented bounds; handle exceptions or rejected promises.

### See Also

- [ServerSheetControl Class](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/nodejs/serversheetcontrol/llms-full.txt)
- [Workbooks and Worksheets](https://docs.textcontrol.com/tx-sheet-control/spreadsheets/workbooks/llms-full.txt)

---

## Nearby

- **Previous:** [ServerSheetControl.getPrintLayout Method](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/nodejs/serversheetcontrol/getprintlayout-method/llms-full.txt)
- **Next:** [ServerSheetControl.getXlsxWarnings Method](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/nodejs/serversheetcontrol/getxlsxwarnings-method/llms-full.txt)
