eStatusCode Enumeration

bitlyDotNET

[This is preliminary documentation and is subject to change.]

Defines the possible return codes when calling the various methods in the library

Namespace:  bitlyDotNET.Interfaces
Assembly:  bit.ly.NET (in bit.ly.NET.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
public enum eStatusCode

Members

Member nameDescription
OK
The request was successful.
Unspecified
%s.
UnknownError
An unknown error occured.
MissingParameter
Missing parameter %s.
UndefinedMethod
Undefined method %s.
NotAuthenticated
You must be authenticated %s.
AlreadyLoggedIn
You are already logged in.
InvalidCredentials
You tried to login with an invalid username/password.
InvalidVersion
You specified an invalid version number. Valid versions are [2.0.0, 2.0.1].
PostError
There was a problem posting your request. Please try again.
PageNotFound
That page does not exist.
ServiceUnavailable
Service unavailable.
InvalidEmail
Invalid email address.
InvalidUsername
Invalid username.
UsernameNotAvailable
Username not available.
EmailNotAvailable
Email not available.
InvalidPasswordLength
Password must be 6-20 characters long.
CouldNotFetchJSON
Could not fetch bitly json doc from s3.
InfoNotFoundForDocument
No info available for requested document.
InfoNotFoundForDocument2
No info available for requested document.
InvalidBitlyHash
Not a valid bitly hash.
TrafficLookupHashFailed
Traffic lookup for that hash failed.
InvalidURLOrAlreadyShort
URL you tried to shorten was already a short bit.ly URL or was invalid.
CNAMEAlreadyAssociated
That CNAME is already associated with another account.
CNAMEIsInvalid
That CNAME is invalid.
NoAccessToCNAMEVersion
You do not have access to this CNAME version of bitly.
CNAMENotAuthenticated
You are trying to access a CNAMED bit.ly site. Please login.
ErrorInBatch
You made a batch request and an error occurred with one part of your request.
KeywordInUse
The custom keyword you tried to use was already used by someone else.
NoMatchingLongURL
We could not find a long URL for that short URL.
InvalidTwitterCredentials
Invalid Twitter credentials.
MissingTwitterCredentials
Missing Twitter credentials.
ErrorUpdatingTwitterStatus
Error updating Twitter status.
TextToLong
Text must be less than or equal to 140 characters.
TwitterPasswordMismatchOnBitly
The Twitter password you saved on bitly is no longer valid for your Twitter account.
TwitterUnavailable
Twitter is currently unavailable.
DuplicateLinkedAccounts
Duplicate linked accounts.
InvalidAccountType
Invalid account type.

See Also