Text Application Status Messages

Status messages returned by the Text API.

Status Message

Code Type

Description

ANALYZING

Status

The Verity classification system is analyzing the text to identify the following:

  • IAB categories

  • Keywords

  • Threats

  • Sentiments

PROCESSED

Status

The URL has been processed and the Verity analysis JSON is available.

UNKNOWN

Status

The Verity system was unable to determine the status of a text classification request.

LANGUAGE_DETECTION_FAILED

Application Error

Returned if Verity fails to infer a language from the provided text. If this is returned, it is recommended to provide the language code of the text using the languageCode parameter.

Response HTTP Code
HTTP/1.1: 200
Example Invalid Request

{ "uuid": "d4502ba3-5388-450e-9a52-ac86e98748fb", "errors": [ { "reason": "LANGUAGE_DETECTION_FAILED" } ] }

 

LANGUAGE_NOT_SUPPORTED

Application Error

The text provided is not supported by Verity. This code is returned if the provided languageCode or detected language code is not supported. Receiving this error code means the provided text cannot be processed.

Response HTTP Code
HTTP/1.1: 200
Example Invalid Request

{ "uuid": "d4502ba3-5388-450e-9a52-ac86e98748fb", "errors": [ { "reason": "LANGUAGE_NOT_SUPPORTED" } ] }

 

 

TEXT_CLASSIFICATION_FAILED

Application Error

There was a problem processing the provided text. Please reach out to Verity support for further information.

Response HTTP Code
HTTP/1.1: 200
Example Invalid Request

{ "uuid": "d4502ba3-5388-450e-9a52-ac86e98748fb", "errors": [ { "reason": "TEXT_CLASSIFICATION_FAILED" } ] }

 

TEXT_ID_NOT_FOUND

Application Error

The provided uuid is not associated with any text. Please verify that the correct uuid provided by Verity is used.

Response HTTP Code
HTTP/1.1: 200
Example Invalid Request

 

TEXT_LENGTH_EXCEEDED

Validation Error

The provided text exceeded Verity’s acceptable length. Please reach out to Verity support for further information.

Response HTTP Code
HTTP/1.1: 400
Example Invalid Request

 

 

TEXT_MUST_NOT_BE_EMTPY

Validation Error

The provided text was empty.

Response HTTP Code
HTTP/1.1: 400
Example Invalid Request

 

URL_MUST_NOT_BE_EMPTY

Validation Error

The provided url was empty. This can apply to a callbackUrl or url field.

Response HTTP Code
HTTP/1.1: 400
Example Invalid Request

 

URL_MALFORMED

Validation Error

The provided url was malformed. This can apply to a callbackUrl or url field.

Response HTTP Code
HTTP/1.1: 400
Example Invalid Request

 

URL_MISSING_HTTP_PROTOCOL

Validation Error

The provided url did not include an HTTP schema. This can apply to a callbackUrl or url.

Response HTTP Code
HTTP/1.1: 400
Example Invalid Request

 

 


The contents of these documents and any attachments contain GumGum, Inc. confidential information and are legally protected from disclosure.