AVConstants.h

Includes:
<Foundation/Foundation.h>
<UIKit/UIKit.h>
<Cocoa/Cocoa.h>

Introduction

Use the links in the table of contents to the left to access the documentation.



Constants

kAVErrorAccountAlreadyLinked

208: An existing account already linked to another user.

kAVErrorCacheMiss

120: The results were not found in the cache.

kAVErrorCommandUnavailable

108: Tried to access a feature only available internally.

kAVErrorConnectionFailed

100: The connection to the AVOS servers failed.

kAVErrorDuplicateValue

137: A unique field was given a value that is already taken.

kAVErrorExceededQuota

140: Exceeded an application quota. Upgrade to resolve.

kAVErrorFacebookAccountAlreadyLinked

208: An existing Facebook account already linked to another user.

kAVErrorFacebookIdMissing

250: Facebook id missing from request

kAVErrorFacebookInvalidSession

251: Invalid Facebook session

kAVErrorFileDeleteFailure

153: Fail to delete file.

kAVErrorIncorrectType

111: Field set to incorrect type.

kAVErrorInternalServer

1: Internal server error. No information available.

kAVErrorInvalidACL

123: Invalid ACL. An ACL with an invalid format was saved. This should not happen if you use PFACL.

kAVErrorInvalidChannelName

112: 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.

kAVErrorInvalidClassName

103: Missing or invalid classname. Classnames are case-sensitive. They must start with a letter, and a-zA-Z0-9_ are the only valid characters.

kAVErrorInvalidDeviceToken

114: Invalid device token.

kAVErrorInvalidEmailAddress

125: The email address was invalid.

kAVErrorInvalidFileName

122: Invalid file name. A file name contains only a-zA-Z0-9_. characters and is between 1 and 36 characters.

kAVErrorInvalidImageData

150: Fail to convert data to image.

kAVErrorInvalidJSON

107: Malformed json object. A json dictionary is expected.

kAVErrorInvalidKeyName

105: Invalid key name. Keys are case-sensitive. They must start with a letter, and a-zA-Z0-9_ are the only valid characters.

kAVErrorInvalidLinkedSession

251: Invalid linked session

kAVErrorInvalidNestedKey

121: Keys in NSDictionary values may not include '$' or '.'.

kAVErrorInvalidPointer

106: Malformed pointer. Pointers must be arrays of a classname and an object id.

kAVErrorInvalidProductIdentifier

146: The product identifier is invalid

kAVErrorInvalidPurchaseReceipt

144: Product purchase receipt is invalid

kAVErrorInvalidQuery

102: You tried to find values matching a datatype that doesn't support exact database matching, like an array or a dictionary.

kAVErrorInvalidRoleName

139: Role's name is invalid.

kAVErrorInvalidServerResponse

148: The Apple server response is not valid

kAVErrorLinkedIdMissing

250: Linked id missing from request

kAVErrorMissingObjectId

104: Missing object id.

kAVErrorObjectNotFound

101: Object doesn't exist, or has an incorrect password.

kAVErrorObjectTooLarge

116: The object is too large.

kAVErrorOperationForbidden

119: That operation isn't allowed for clients.

kAVErrorPaymentDisabled

145: Payment is disabled on this device

kAVErrorProductDownloadFileSystemFailure

149: Product fails to download due to file system error

kAVErrorProductNotFoundInAppStore

147: The product is not found in the App Store

kAVErrorPushMisconfigured

115: Push is misconfigured. See details to find out how.

kAVErrorReceiptMissing

143: Product purchase receipt is missing

kAVErrorTimeout

124: The request timed out on the server. Typically this indicates the request is too expensive.

kAVErrorUnsavedFile

151: Unsaved file.

kAVErrorUserCannotBeAlteredWithoutSession

206: The user cannot be altered by a client without the session.

kAVErrorUserCanOnlyBeCreatedThroughSignUp

207: Users can only be created through sign up

kAVErrorUserEmailMissing

204: The email is missing, and must be specified

kAVErrorUserEmailTaken

203: Email has already been taken

kAVErrorUserIdMismatch

209: User ID mismatch

kAVErrorUsernameMissing

200: Username is missing or empty

kAVErrorUsernamePasswordMismatch

210: The username and password mismatch.

kAVErrorUsernameTaken

202: Username has already been taken

kAVErrorUserPasswordMissing

201: Password is missing or empty

kAVErrorUserWithEmailNotFound

205: A user with the specified email was not found

kAVScriptError

141: Cloud Code script had an error.

kAVValidationError

142: Cloud Code validation failed.


kAVErrorAccountAlreadyLinked


208: An existing account already linked to another user.

extern NSInteger const kAVErrorAccountAlreadyLinked;  

kAVErrorCacheMiss


120: The results were not found in the cache.

extern NSInteger const kAVErrorCacheMiss;  

kAVErrorCommandUnavailable


108: Tried to access a feature only available internally.

extern NSInteger const kAVErrorCommandUnavailable;  

kAVErrorConnectionFailed


100: The connection to the AVOS servers failed.

extern NSInteger const kAVErrorConnectionFailed;  

kAVErrorDuplicateValue


137: A unique field was given a value that is already taken.

extern NSInteger const kAVErrorDuplicateValue;  

kAVErrorExceededQuota


140: Exceeded an application quota. Upgrade to resolve.

extern NSInteger const kAVErrorExceededQuota;  

kAVErrorFacebookAccountAlreadyLinked


208: An existing Facebook account already linked to another user.

extern NSInteger const kAVErrorFacebookAccountAlreadyLinked;  

kAVErrorFacebookIdMissing


250: Facebook id missing from request

extern NSInteger const kAVErrorFacebookIdMissing;  

kAVErrorFacebookInvalidSession


251: Invalid Facebook session

extern NSInteger const kAVErrorFacebookInvalidSession;  

kAVErrorFileDeleteFailure


153: Fail to delete file.

extern NSInteger const kAVErrorFileDeleteFailure;  

kAVErrorIncorrectType


111: Field set to incorrect type.

extern NSInteger const kAVErrorIncorrectType;  

kAVErrorInternalServer


1: Internal server error. No information available.

extern NSInteger const kAVErrorInternalServer;  

kAVErrorInvalidACL


123: Invalid ACL. An ACL with an invalid format was saved. This should not happen if you use PFACL.

extern NSInteger const kAVErrorInvalidACL;  

kAVErrorInvalidChannelName


112: 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.

extern NSInteger const kAVErrorInvalidChannelName;  

kAVErrorInvalidClassName


103: Missing or invalid classname. Classnames are case-sensitive. They must start with a letter, and a-zA-Z0-9_ are the only valid characters.

extern NSInteger const kAVErrorInvalidClassName;  

kAVErrorInvalidDeviceToken


114: Invalid device token.

extern NSInteger const kAVErrorInvalidDeviceToken;  

kAVErrorInvalidEmailAddress


125: The email address was invalid.

extern NSInteger const kAVErrorInvalidEmailAddress;  

kAVErrorInvalidFileName


122: Invalid file name. A file name contains only a-zA-Z0-9_. characters and is between 1 and 36 characters.

extern NSInteger const kAVErrorInvalidFileName;  

kAVErrorInvalidImageData


150: Fail to convert data to image.

extern NSInteger const kAVErrorInvalidImageData;  

kAVErrorInvalidJSON


107: Malformed json object. A json dictionary is expected.

extern NSInteger const kAVErrorInvalidJSON;  

kAVErrorInvalidKeyName


105: Invalid key name. Keys are case-sensitive. They must start with a letter, and a-zA-Z0-9_ are the only valid characters.

extern NSInteger const kAVErrorInvalidKeyName;  

kAVErrorInvalidLinkedSession


251: Invalid linked session

extern NSInteger const kAVErrorInvalidLinkedSession;  

kAVErrorInvalidNestedKey


121: Keys in NSDictionary values may not include '$' or '.'.

extern NSInteger const kAVErrorInvalidNestedKey;  

kAVErrorInvalidPointer


106: Malformed pointer. Pointers must be arrays of a classname and an object id.

extern NSInteger const kAVErrorInvalidPointer;  

kAVErrorInvalidProductIdentifier


146: The product identifier is invalid

extern NSInteger const kAVErrorInvalidProductIdentifier;  

kAVErrorInvalidPurchaseReceipt


144: Product purchase receipt is invalid

extern NSInteger const kAVErrorInvalidPurchaseReceipt;  

kAVErrorInvalidQuery


102: You tried to find values matching a datatype that doesn't support exact database matching, like an array or a dictionary.

extern NSInteger const kAVErrorInvalidQuery;  

kAVErrorInvalidRoleName


139: Role's name is invalid.

extern NSInteger const kAVErrorInvalidRoleName;  

kAVErrorInvalidServerResponse


148: The Apple server response is not valid

extern NSInteger const kAVErrorInvalidServerResponse;  

kAVErrorLinkedIdMissing


250: Linked id missing from request

extern NSInteger const kAVErrorLinkedIdMissing;  

kAVErrorMissingObjectId


104: Missing object id.

extern NSInteger const kAVErrorMissingObjectId;  

kAVErrorObjectNotFound


101: Object doesn't exist, or has an incorrect password.

extern NSInteger const kAVErrorObjectNotFound;  

kAVErrorObjectTooLarge


116: The object is too large.

extern NSInteger const kAVErrorObjectTooLarge;  

kAVErrorOperationForbidden


119: That operation isn't allowed for clients.

extern NSInteger const kAVErrorOperationForbidden;  

kAVErrorPaymentDisabled


145: Payment is disabled on this device

extern NSInteger const kAVErrorPaymentDisabled;  

kAVErrorProductDownloadFileSystemFailure


149: Product fails to download due to file system error

extern NSInteger const kAVErrorProductDownloadFileSystemFailure;  

kAVErrorProductNotFoundInAppStore


147: The product is not found in the App Store

extern NSInteger const kAVErrorProductNotFoundInAppStore;  

kAVErrorPushMisconfigured


115: Push is misconfigured. See details to find out how.

extern NSInteger const kAVErrorPushMisconfigured;  

kAVErrorReceiptMissing


143: Product purchase receipt is missing

extern NSInteger const kAVErrorReceiptMissing;  

kAVErrorTimeout


124: The request timed out on the server. Typically this indicates the request is too expensive.

extern NSInteger const kAVErrorTimeout;  

kAVErrorUnsavedFile


151: Unsaved file.

extern NSInteger const kAVErrorUnsavedFile;  

kAVErrorUserCannotBeAlteredWithoutSession


206: The user cannot be altered by a client without the session.

extern NSInteger const kAVErrorUserCannotBeAlteredWithoutSession;  

kAVErrorUserCanOnlyBeCreatedThroughSignUp


207: Users can only be created through sign up

extern NSInteger const kAVErrorUserCanOnlyBeCreatedThroughSignUp;  

kAVErrorUserEmailMissing


204: The email is missing, and must be specified

extern NSInteger const kAVErrorUserEmailMissing;  

kAVErrorUserEmailTaken


203: Email has already been taken

extern NSInteger const kAVErrorUserEmailTaken;  

kAVErrorUserIdMismatch


209: User ID mismatch

extern NSInteger const kAVErrorUserIdMismatch;  

kAVErrorUsernameMissing


200: Username is missing or empty

extern NSInteger const kAVErrorUsernameMissing;  

kAVErrorUsernamePasswordMismatch


210: The username and password mismatch.

extern NSInteger const kAVErrorUsernamePasswordMismatch;  

kAVErrorUsernameTaken


202: Username has already been taken

extern NSInteger const kAVErrorUsernameTaken;  

kAVErrorUserPasswordMissing


201: Password is missing or empty

extern NSInteger const kAVErrorUserPasswordMissing;  

kAVErrorUserWithEmailNotFound


205: A user with the specified email was not found

extern NSInteger const kAVErrorUserWithEmailNotFound;  

kAVScriptError


141: Cloud Code script had an error.

extern NSInteger const kAVScriptError;  

kAVValidationError


142: Cloud Code validation failed.

extern NSInteger const kAVValidationError;