Error

AV. Error

new Error()

Source:

Members

(static, constant) ACCOUNT_ALREADY_LINKED

Source:
Error code indicating that an an account being linked is already linked to another user.

(static, constant) CACHE_MISS

Source:
Error code indicating the result was not found in the cache.

(static, constant) COMMAND_UNAVAILABLE

Source:
Error code indicating that the feature you tried to access is only available internally for testing purposes.

(static, constant) CONNECTION_FAILED

Source:
Error code indicating the connection to the AV servers failed.

(static, constant) DUPLICATE_VALUE

Source:
Error code indicating that a unique field was given a value that is already taken.

(static, constant) EMAIL_MISSING

Source:
Error code indicating that the email is missing, but must be specified.

(static, constant) EMAIL_NOT_FOUND

Source:
Error code indicating that a user with the specified email was not found.

(static, constant) EMAIL_TAKEN

Source:
Error code indicating that the email has already been taken.

(static, constant) EXCEEDED_QUOTA

Source:
Error code indicating that an application quota was exceeded. Upgrade to resolve.

(static, constant) FILE_DELETE_ERROR

Source:
Error code indicating an error deleting a file.

(static, constant) FILE_SAVE_ERROR

Source:
Error code indicating an error saving a file.

(static, constant) FILE_TOO_LARGE

Source:
Error code indicating a file that was too large.

(static, constant) INCORRECT_TYPE

Source:
Error code indicating that a field was set to an inconsistent type.

(static, constant) INTERNAL_SERVER_ERROR

Source:
Error code indicating that something has gone wrong with the server. If you get this error code, it is AV's fault.

(static, constant) INVALID_ACL

Source:
Error code indicating an invalid ACL was provided.

(static, constant) INVALID_CHANNEL_NAME

Source:
Error code indicating an invalid channel name. A channel name is either an empty string (the broadcast channel) or contains only a-zA-Z0-9_ characters.

(static, constant) INVALID_CLASS_NAME

Source:
Error code indicating a missing or invalid classname. Classnames are case-sensitive. They must start with a letter, and a-zA-Z0-9_ are the only valid characters.

(static, constant) INVALID_CONTENT_LENGTH

Source:
Error code indicating an invalid content length.

(static, constant) INVALID_EMAIL_ADDRESS

Source:
Error code indicating that the email address was invalid.

(static, constant) INVALID_FILE_NAME

Source:
Error code indicating that an invalid filename was used for AVFile. A valid file name contains only a-zA-Z0-9_. characters and is between 1 and 128 characters.

(static, constant) INVALID_IMAGE_DATA

Source:
Error code indicating that invalid image data was provided.

(static, constant) INVALID_JSON

Source:
Error code indicating that badly formed JSON was received upstream. This either indicates you have done something unusual with modifying how things encode to JSON, or the network is failing badly.

(static, constant) INVALID_KEY_NAME

Source:
Error code indicating an invalid key name. Keys are case-sensitive. They must start with a letter, and a-zA-Z0-9_ are the only valid characters.

(static, constant) INVALID_LINKED_SESSION

Source:
Error code indicating that a user with a linked (e.g. Facebook) account has an invalid session.

(static, constant) INVALID_NESTED_KEY

Source:
Error code indicating that an invalid key was used in a nested JSONObject.

(static, constant) INVALID_POINTER

Source:
Error code indicating a malformed pointer. You should not see this unless you have been mucking about changing internal AV code.

(static, constant) INVALID_PUSH_TIME_ERROR

Source:
Error code indicating an invalid push time.

(static, constant) INVALID_QUERY

Source:
Error code indicating you tried to query with a datatype that doesn't support it, like exact matching an array or object.

(static, constant) INVALID_ROLE_NAME

Source:
Error code indicating that a role's name is invalid.

(static, constant) LINKED_ID_MISSING

Source:
Error code indicating that a user cannot be linked to an account because that account's id could not be found.

(static, constant) MISSING_CONTENT_LENGTH

Source:
Error code indicating a missing content length.

(static, constant) MISSING_CONTENT_TYPE

Source:
Error code indicating a missing content type.

(static, constant) MISSING_OBJECT_ID

Source:
Error code indicating an unspecified object id.

(static, constant) MUST_CREATE_USER_THROUGH_SIGNUP

Source:
Error code indicating that a user can only be created through signup.

(static, constant) NOT_INITIALIZED

Source:
You must call AV.initialize before using the AV library.

(static, constant) OBJECT_NOT_FOUND

Source:
Error code indicating the specified object doesn't exist.

(static, constant) OBJECT_TOO_LARGE

Source:
Error code indicating that the object is too large.

(static, constant) OPERATION_FORBIDDEN

Source:
Error code indicating that the operation isn't allowed for clients.

(static, constant) OTHER_CAUSE

Source:
Error code indicating some error other than those enumerated here.

(static, constant) PASSWORD_MISSING

Source:
Error code indicating that the password is missing or empty.

(static, constant) PUSH_MISCONFIGURED

Source:
Error code indicating that push is misconfigured.

(static, constant) SCRIPT_FAILED

Source:
Error code indicating that a Cloud Code script failed.

(static, constant) SESSION_MISSING

Source:
Error code indicating that a user object without a valid session could not be altered.

(static, constant) TIMEOUT

Source:
Error code indicating that the request timed out on the server. Typically this indicates that the request is too expensive to run.

(static, constant) UNSAVED_FILE_ERROR

Source:
Error code indicating an unsaved file.

(static, constant) UNSUPPORTED_SERVICE

Source:
Error code indicating that a service being linked (e.g. Facebook or Twitter) is unsupported.

(static, constant) USERNAME_MISSING

Source:
Error code indicating that the username is missing or empty.

(static, constant) USERNAME_TAKEN

Source:
Error code indicating that the username has already been taken.

(static, constant) VALIDATION_ERROR

Source:
Error code indicating that a Cloud Code validation failed.

(static, constant) X_DOMAIN_REQUEST

Source:
Error code indicating a real error code is unavailable because we had to use an XDomainRequest object to allow CORS requests in Internet Explorer, which strips the body from HTTP responses that have a non-2XX status code.