> ## Documentation Index
> Fetch the complete documentation index at: https://docs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# VerifyStringResult (JSON)

> VerifyStringResult (JSON)

Result codes corresponding to each string submitted to [/system/strings/validate](https://docs.xbox.com/reference/live/rest/uri/stringserver/uri-systemstringsvalidate.md).

## VerifyStringResult

The VerifyStringResult object has the following specification.

| Member | Type | Description |
| - | - | - |
| resultCode | 32-bit unsigned integer | Required. HResult code corresponding to submitted string. |
| offendingString | string | Required. String value that caused a string to be rejected. |

## Sample JSON syntax

```json theme={null}
{
    "verifyStringResult":
    [
        {"resultCode": "1", "offendingString": "badword"},
        {"resultCode": "0", "offendingString": ""},
        {"resultCode": "0", "offendingString": ""},
        {"resultCode": "0", "offendingString": ""},
    ]
}

```

#### Common HResult Values

\| Value| Error Name|
\| --- | --- | --- | --- | --- |
\| 0| Success|
\| 1| Offensive string|
\| 2| String too long|
\| 3| Unknown error|

## See also

##### Parent

[JavaScript Object Notation (JSON) Object Reference](https://docs.xbox.com/reference/live/rest/json/atoc-xboxlivews-reference-json.md)

##### Reference

[POST (/system/strings/validate)](https://docs.xbox.com/reference/live/rest/uri/stringserver/uri-systemstringsvalidatepost.md)


## Related topics

- [POST (/system/strings/validate)](https://docs.xbox.com/reference/live/rest/uri/stringserver/uri-systemstringsvalidatepost.md)
- [JavaScript Object Notation (JSON) Object Reference](https://docs.xbox.com/reference/live/rest/json/atoc-xboxlivews-reference-json.md)
- [XblStringVerifyStringsResult](https://docs.xbox.com/reference/live/xsapi-c/string_verify_c/functions/xblstringverifystringsresult.md)
- [XblStringVerifyStringResult](https://docs.xbox.com/reference/live/xsapi-c/string_verify_c/functions/xblstringverifystringresult.md)
- [XblVerifyStringResult](https://docs.xbox.com/reference/live/xsapi-c/string_verify_c/structs/xblverifystringresult.md)
