| KomfoStatusCode Enumeration |
Contains the values of error codes defined for Komfo API.
Namespace: KomfoSharp.ProviderAssembly: KomfoSharp (in KomfoSharp.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax[SerializableAttribute]
public enum KomfoStatusCode
Members|
| Member name | Value | Description |
|---|
| SecureConnection | 1 |
All API call must be performed over HTTPS. Any valid API call over HTTP would return BadRequest.
|
| InvalidApiCall | 2 |
When invoking not existing API call - a NotFound error message would be returned.
|
| InvalidHttpMethod | 3 |
Invoking an invalid HTTP method would return NotFound.
|
| MissingOrInvalidRequiredParameter | 4 |
Invoking a method with invalid or missing required parameter will result in BadRequest.
|
| InvalidAccessToken | 5 |
Invoking an API method with invalid (or missing) access_token will result in Unauthorized.
|
| RateLimit | 6 |
Invoking API many times exceeding the Komfo API rate limits will result in (HttpStatusCode)429 (Too Many Requests).
|
| InternalServerError | 7 |
When there is an internal issue this error would be returned InternalServerError.
|
| InvalidClientCredentials | 50 |
Invoking "oauth20/tokens" endpoint with invalid client_id and client_secret will result in BadRequest.
|
| MoreThan100TwitterHandles | 100 |
If the limit of 100 handles in the request has been exceeded then BadRequest is returned.
|
| SinceGreaterThanUntil | 101 | since parameter must be earlier than until: BadRequest.
|
| SinceAndUntilMustBeWithinTheLast30Days | 102 |
Will result in BadRequest.
|
| AtLeastOneInvalidValueIsPassedInIds | 103 |
Will result in BadRequest.
|
| ThereIsNoActiveAdAccountInClient | 200 |
No active Ad Account in the client.
|
| FacebookGeneralError | 201 |
The Facebook general error.
|
| AdAccountAccessTokenNotValid | 202 |
The ad account access token not valid
|
| MoreThan5000EmailsInGroup | 231 |
More than 5000 entries in a group.
|
| AudienceIdIsNotValidCustomAudience | 232 |
The Custom Audience does not exist or you don't have access to it.
|
| MissingFacebookApp | 233 |
When creating a Custom Audience with Facebook IDs the payload.app_id must be provided
|
| CustomAudienceParticipateInActiveAdvertisements | 234 |
The Custom Audience is participating in active advertisements and cannot be deleted
|
| CampaignIdIsNotValidCampaign | 250 |
The Campaign does not exist or you don't have access to it.
|
| CustomAudienceIsAddedMultipleTimesToCampaign | 251 |
The Custom Audience already exists in this Campaign.
|
| CustomAudienceDoesNotExistInCampaignButIsRequestedToBeRemoved | 252 |
The Custom Audience does not exist in this Campaign.
|
See Also