# ServerSheetControl.getWarnings Method

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

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

---

Read merge/export warning strings.

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

### Syntax

```typescript
getWarnings(): readonly string[]
```

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.

```typescript
import type { ServerSheetControl } from '@txtextcontrol/tx-sheet-control-server';

function inspectServerSheetControlGetWarnings(sheetControl: ServerSheetControl) {
    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/typescript-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/typescript-api/nodejs/serversheetcontrol/getprintlayout-method/llms-full.txt)
- **Next:** [ServerSheetControl.getXlsxWarnings Method](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/serversheetcontrol/getxlsxwarnings-method/llms-full.txt)
