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

# VerifyStringResult (JSON)

> VerifyStringResult (JSON)

# VerifyStringResult (JSON)

Result codes corresponding to each string submitted to [/system/strings/validate](/reference/live/rest/uri/stringserver/uri-systemstringsvalidate).

<a id="ID4ER" />

## 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. |

<a id="ID4EXB" />

## 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|

<a id="ID4ELD" />

## See also

<a id="ID4END" />

##### Parent

[JavaScript Object Notation (JSON) Object Reference](/reference/live/rest/json/atoc-xboxlivews-reference-json)

<a id="ID4EXD" />

##### Reference

[POST (/system/strings/validate)](/reference/live/rest/uri/stringserver/uri-systemstringsvalidatepost)


## Related topics

- [XblStringVerifyStringsResult](/reference/live/xsapi-c/string_verify_c/functions/xblstringverifystringsresult.md)
- [XblStringVerifyStringResult](/ko/reference/live/xsapi-c/string_verify_c/functions/xblstringverifystringresult.md)
- [XblVerifyStringResult](/ja-jp/reference/live/xsapi-c/string_verify_c/structs/xblverifystringresult.md)
- [XblStringVerifyStringResultSize](/ko/reference/live/xsapi-c/string_verify_c/functions/xblstringverifystringresultsize.md)
- [XblStringVerifyStringsResultSize](/ko/reference/live/xsapi-c/string_verify_c/functions/xblstringverifystringsresultsize.md)
