Error codes
The following errors may be returned by the Zenfolio API methods:
- E_ACCOUNTLOCKED
- This error is returned by an authentication method if a user's account is locked, for example, because of too many invalid login attempts.
- E_CONNECTIONISNOTSECURE
- The requested operation requires a secure connection. Some of the Zenfolio API methods, for example AuthenticatePlain, can only be called over a secure connection.
- E_DUPLICATEEMAIL
- The e-mail address provided is already being used.
- E_DUPLICATELOGINNAME
- The login name provided is already being used.
- E_DURATIONQUOTAEXCEEDED
- The video duration quota has been exceeded.
- E_INVALIDCREDENTIALS
- Invalid credentials were supplied to an authentication method. This is normally returned because of an incorrect password, but it can also be returned if the user name is invalid.
- E_INVALIDFILEFORMAT
- The file format is invalid.
- E_INVALIDPARAM
- One or more method parameters were not valid.
- E_FILESIZEQUOTAEXCEEDED
- The file size in bytes exceeds the maximum allowed size for the user's subscription plan.
- E_NOSUCHOBJECT
- Requested operation refers to an object that does not exist. This usually indicates that an invalid object identifier was passed to the method call. This error may also occur if the caller is not allowed to access the object or needs to authenticate to access it.
- E_NOTAUTHENTICATED
- Requested operation requires the user to be authenticated. While some operations such as searching are available to non-authenticated users, most of the Zenfolio API methods require authentication.
- E_NOTAUTHORIZED
- The calling user is not authorized to perform requested operation. This usually happens when trying to manipulate an object which is owned by a different user or which cannot be modified.
- E_STORAGEQUOTAEXCEEDED
- User's storage quota has been exceeded.
- E_UNSPECIFIEDERROR
- An unspecified error has occurred.