Click or drag to resize
KomfoStatusCode Enumeration
Contains the values of error codes defined for Komfo API.

Namespace: KomfoSharp.Provider
Assembly: KomfoSharp (in KomfoSharp.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
[SerializableAttribute]
public enum KomfoStatusCode
Members
  Member nameValueDescription
SecureConnection1 All API call must be performed over HTTPS. Any valid API call over HTTP would return BadRequest.
InvalidApiCall2 When invoking not existing API call - a NotFound error message would be returned.
InvalidHttpMethod3 Invoking an invalid HTTP method would return NotFound.
MissingOrInvalidRequiredParameter4 Invoking a method with invalid or missing required parameter will result in BadRequest.
InvalidAccessToken5 Invoking an API method with invalid (or missing) access_token will result in Unauthorized.
RateLimit6 Invoking API many times exceeding the Komfo API rate limits will result in (HttpStatusCode)429 (Too Many Requests).
InternalServerError7 When there is an internal issue this error would be returned InternalServerError.
InvalidClientCredentials50 Invoking "oauth20/tokens" endpoint with invalid client_id and client_secret will result in BadRequest.
MoreThan100TwitterHandles100 If the limit of 100 handles in the request has been exceeded then BadRequest is returned.
SinceGreaterThanUntil101since parameter must be earlier than until: BadRequest.
SinceAndUntilMustBeWithinTheLast30Days102 Will result in BadRequest.
AtLeastOneInvalidValueIsPassedInIds103 Will result in BadRequest.
ThereIsNoActiveAdAccountInClient200 No active Ad Account in the client.
FacebookGeneralError201 The Facebook general error.
AdAccountAccessTokenNotValid202 The ad account access token not valid
MoreThan5000EmailsInGroup231 More than 5000 entries in a group.
AudienceIdIsNotValidCustomAudience232 The Custom Audience does not exist or you don't have access to it.
MissingFacebookApp233 When creating a Custom Audience with Facebook IDs the payload.app_id must be provided
CustomAudienceParticipateInActiveAdvertisements234 The Custom Audience is participating in active advertisements and cannot be deleted
CampaignIdIsNotValidCampaign250 The Campaign does not exist or you don't have access to it.
CustomAudienceIsAddedMultipleTimesToCampaign251 The Custom Audience already exists in this Campaign.
CustomAudienceDoesNotExistInCampaignButIsRequestedToBeRemoved252 The Custom Audience does not exist in this Campaign.
See Also