API Docs for:

Class Parse.Error

Constructs a new Parse.Error object with the given code and message.

Parse.Error( code, message )
Parameters:
  • code <Number>

    An error code constant from Parse.Error.

  • message <String>

    A detailed description of the error.

ACCOUNT_ALREADY_LINKED <Unknown> (final) (static)

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

AGGREGATE_ERROR <Unknown> (final) (static)

Error code indicating that there were multiple errors. Aggregate errors have an "errors" property, which is an array of error objects with more detail about each error that occurred.

CACHE_MISS <Unknown> (final) (static)

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

COMMAND_UNAVAILABLE <Unknown> (final) (static)

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

CONNECTION_FAILED <Unknown> (final) (static)

Error code indicating the connection to the Parse servers failed.

DUPLICATE_VALUE <Unknown> (final) (static)

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

EMAIL_MISSING <Unknown> (final) (static)

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

EMAIL_NOT_FOUND <Unknown> (final) (static)

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

EMAIL_TAKEN <Unknown> (final) (static)

Error code indicating that the email has already been taken.

EXCEEDED_QUOTA <Unknown> (final) (static)

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

FILE_DELETE_ERROR <Unknown> (final) (static)

Error code indicating an error deleting a file.

FILE_READ_ERROR <Unknown> (final) (static)

Error code indicating the client was unable to read an input file.

FILE_SAVE_ERROR <Unknown> (final) (static)

Error code indicating an error saving a file.

FILE_TOO_LARGE <Unknown> (final) (static)

Error code indicating a file that was too large.

INCORRECT_TYPE <Unknown> (final) (static)

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

INTERNAL_SERVER_ERROR <Unknown> (final) (static)

Error code indicating that something has gone wrong with the server. If you get this error code, it is Parse's fault. Contact us at https://parse.com/help

INVALID_ACL <Unknown> (final) (static)

Error code indicating an invalid ACL was provided.

INVALID_CHANNEL_NAME <Unknown> (final) (static)

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 and starts with a letter.

INVALID_CLASS_NAME <Unknown> (final) (static)

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.

INVALID_CONTENT_LENGTH <Unknown> (final) (static)

Error code indicating an invalid content length.

INVALID_EMAIL_ADDRESS <Unknown> (final) (static)

Error code indicating that the email address was invalid.

INVALID_EVENT_NAME <Unknown> (final) (static)

Error code indicating an invalid event name.

INVALID_FILE_NAME <Unknown> (final) (static)

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

INVALID_IMAGE_DATA <Unknown> (final) (static)

Error code indicating that invalid image data was provided.

INVALID_JSON <Unknown> (final) (static)

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.

INVALID_KEY_NAME <Unknown> (final) (static)

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.

INVALID_LINKED_SESSION <Unknown> (final) (static)

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

INVALID_NESTED_KEY <Unknown> (final) (static)

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

INVALID_POINTER <Unknown> (final) (static)

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

INVALID_PUSH_TIME_ERROR <Unknown> (final) (static)

Error code indicating an invalid push time.

INVALID_QUERY <Unknown> (final) (static)

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

INVALID_ROLE_NAME <Unknown> (final) (static)

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

INVALID_SESSION_TOKEN <Unknown> (final) (static)

Error code indicating that the current session token is invalid.

LINKED_ID_MISSING <Unknown> (final) (static)

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

MISSING_CONTENT_LENGTH <Unknown> (final) (static)

Error code indicating a missing content length.

MISSING_CONTENT_TYPE <Unknown> (final) (static)

Error code indicating a missing content type.

MISSING_OBJECT_ID <Unknown> (final) (static)

Error code indicating an unspecified object id.

MUST_CREATE_USER_THROUGH_SIGNUP <Unknown> (final) (static)

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

NOT_INITIALIZED <Unknown> (final) (static)

You must call Parse.initialize before using the Parse library.

OBJECT_NOT_FOUND <Unknown> (final) (static)

Error code indicating the specified object doesn't exist.

OBJECT_TOO_LARGE <Unknown> (final) (static)

Error code indicating that the object is too large.

OPERATION_FORBIDDEN <Unknown> (final) (static)

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

OTHER_CAUSE <Unknown> (final) (static)

Error code indicating some error other than those enumerated here.

PASSWORD_MISSING <Unknown> (final) (static)

Error code indicating that the password is missing or empty.

PUSH_MISCONFIGURED <Unknown> (final) (static)

Error code indicating that push is misconfigured.

REQUEST_LIMIT_EXCEEDED <Unknown> (final) (static)

Error code indicating that the application has exceeded its request limit.

SCRIPT_FAILED <Unknown> (final) (static)

Error code indicating that a Cloud Code script failed.

SESSION_MISSING <Unknown> (final) (static)

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

TIMEOUT <Unknown> (final) (static)

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

UNSAVED_FILE_ERROR <Unknown> (final) (static)

Error code indicating an unsaved file.

UNSUPPORTED_SERVICE <Unknown> (final) (static)

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

USERNAME_MISSING <Unknown> (final) (static)

Error code indicating that the username is missing or empty.

USERNAME_TAKEN <Unknown> (final) (static)

Error code indicating that the username has already been taken.

VALIDATION_ERROR <Unknown> (final) (static)

Error code indicating that a Cloud Code validation failed.

X_DOMAIN_REQUEST <Unknown> (final) (static)

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.