Error codes
Below are the individual API URLs and their error codes. See also the server error codes.
API/License
/api/License/ChangeProduct
Code: 8
SubCode |
Error cause |
---|---|
45 |
ChangeOfProductIsUnavailable |
/api/License/ConvertToFull
Code: 8
SubCode |
Error cause |
---|---|
19 |
LicenseIsAlreadyConvertedToFull |
30 |
QuantityIsOutOfRange |
/api/License/ExtendTrial
Code: 8
SubCode |
Error cause |
---|---|
24 |
LicenseIsNotTrial |
31 |
TimesToExtendTrialLicenseIsExceeded |
37 |
LicenseIsExpired |
/api/License/GetPossibleProductChanges
Code: 8
SubCode |
Error cause |
---|---|
47 |
Entity is not an MSP or a Customer |
/api/License/Order
Code: 8
SubCode |
Message |
Error cause |
---|---|---|
17 |
|
InvalidLicenseType |
18 |
|
InvalidQuantity |
20 |
|
LicenseIsAlreadyOrdered |
27 |
|
ProductIsNotAvailable |
30 |
|
QuantityIsOutOfRange |
32 |
|
TrialLicenseIsNotAllowed |
|
{"quantity": ["The input was not valid."]} |
The quantity is out of range. |
40 |
You need to accept Terms of Use via this link... |
You need to accept the Terms of Use for ESET LiveGuard Advanced before ordering its license for the first time. Only a user with Write permission to its root company can accept the terms. If you can not accept the terms, contact your MSP manager or a user with sufficient permissions. |
/api/License/Remove
Code: 8
SubCode |
Message |
Error cause |
---|---|---|
24 |
|
LicenseIsNotTrial |
/api/License/Unsuspend
Code: 8
SubCode |
Error cause |
---|---|
22 |
LicenseIsAlreadyUnsuspended |
33 |
UpdateLicenseStateError |
36 |
LicenseIsNotSuspended |
/api/License/UpdateQuantity
Code: 8
SubCode |
Error cause |
---|---|
18 |
InvalidQuantity |
23 |
LicenseIsNotActive |
30 |
QuantityIsOutOfRange |
37 |
LicenseIsExpired |
48 |
LicenseQunatityIsEqualToPrevious |
/api/License/Suspend
Code: 8
SubCode |
Error cause |
---|---|
23 |
LicenseIsInactive |
21 |
LicenseIsAlreadySuspend |
API/User
/api/User/ChangePassword
Code: 2
SubCode |
Error cause |
---|---|
6 |
NewPasswordDoesNotMatchSecurityPolicy |
7 |
PasswordIsNotUsedMoreThanOneDay |
12 |
PasswordWasUsed |
/api/User/GetUserDetails
Code: 2
SubCode |
Error cause |
---|---|
0 |
AccessDenied |
/api/User/Create
Code: 2
SubCode |
Message |
Error cause |
---|---|---|
2 |
User already exists in EMA. |
UserExistsInEma |
4 |
Cannot set user specific permissions to inaccessible direct company. |
NoPermissionsToCompany |
5 |
Cannot accept any specific permissions if permission type = 1 (write). |
SpecificPermissionsNoAccept |
6 |
Cannot set specific permissions - user does not have accessible children. |
NoAccessibleChildren |
7 |
Incorrect country code. |
NoCorrectCountryCode |
API/Search
/api/Search/Users
/api/Search/Companies
/api/Search/Licenses
Code: 7
SubCode |
Message |
Error cause |
---|---|---|
1 |
Application error |
Application error |
2 |
Input keyword has an incorrect format. |
BadKeywordFormat |
5 |
|
InvalidRequest |
6 |
Search in unspecified columns is not allowed. |
NotAllowedColumns |
7 |
Search in duplicate columns is not allowed. |
SearchInDuplicateColumns |
9 |
Incorrect country code. |
NoCorrectCountryCode (used only for /api/Search/Users) |
API/Company
/api/Company/Delete
SubCode |
Error cause |
---|---|
4 |
Company is not a deletable entity type (see the list of deletable companies). |
5 |
Company is not suspended. Suspend the company to enable deletion. |
/api/Company/Create/Customer
Code: 1
SubCode |
Error cause |
---|---|
2 |
AddressCreateFailed |
5 |
BusinessAccountCreateFailed |
7 |
DuplicateName |
11 |
InvalidData |
12 |
LoginCreateFailed |
13 |
UserCreateFailed |
14 |
UserExistsInEma |
16 |
AncestorIsNotActive |
17 |
InvalidEntityType |
18 |
InvalidEmail |
22 |
ParentIsNotValid - Your user is located in a different hierarchy. Enter a valid ParentID. |
/api/Company/Create/Msp
/api/Company/Create/ManagedMsp
Code: 1
SubCode |
Error cause |
---|---|
19 |
ProductIsNotAvailable |
20 |
TrialLicenseIsNotAllowed |
21 |
AtLeastOneProductIsRequired |
/api/Company/Suspend
Code: 11
SubCode |
Error cause |
---|---|
5 |
Another operation is running. |
6 |
Selected company has invalid state. |
7 |
The company is already suspended. |
/api/Company/Unsuspend
Code: 11
SubCode |
Error cause |
---|---|
5 |
Another operation is running. |
6 |
Selected company has invalid state. |
7 |
The company is already un-suspended. |
/api/Company/Update/Msp
/api/Company/Update/Customer
Code: 1
SubCode |
Error cause |
---|---|
1 |
ActorEmptyGuid |
2 |
AddressNotFound |
4 |
AncestorSuspended |
14 |
DuplicateName |
17 |
EmptyGuid |
18 |
EntitiesHaveDifferentAncestor |
19 |
EntityNotFound |
21 |
InvalidCompanyType |
22 |
InvalidData |
25 |
ParentAlreadySet |
27 |
TryToAddNotAvailableProduct |
28 |
TryToChangeCompanyType |
29 |
TryToChangeEntityTypeWithInvalidTypeOfDescendants |
30 |
TryToRemoveOrderedProduct |
31 |
IsNotPossibleToChangeEmailOfActiveCompany |
33 |
InvalidEmail |
/api/Company/Update/ManagedMsp
Code: 1
SubCode |
Error cause |
---|---|
34 |
TrialLicensesIsNotAllowed |
API/Token
/api/Token/Get
/api/Token/Renew
/api/Token/Check
Code: 6
SubCode |
Error cause |
---|---|
2 |
AuthenticationIssue (only if there is a problem with communication between EMA2 API and Identity Server) |
3 |
Unauthorized |
API/Ema1Mapping
/api/Ema1Mapping/CompanyId/{companyId}
Code: 9
SubCode |
Error cause |
---|---|
1 |
ApplicationFailure |
3 |
CompanyNotExists (it was not migrated, or user doesn't have enough permissions) |
/api/Ema1Mapping/LicenseId/{licenseId}
Code: 9
SubCode |
Error cause |
---|---|
1 |
ApplicationFailure |
2 |
LicenseNotExists (it was not migrated, or user doesn't have enough permissions) |
/api/Ema1Mapping/UserId/{userId}
Code: 9
SubCode |
Error cause |
---|---|
1 |
ApplicationFailure |
4 |
UserNotExists (it was not migrated, or user doesn't have enough permissions) |
/api/Ema1Mapping/SiteId
Code: 9
SubCode |
Error cause |
---|---|
1 |
ApplicationFailure |
5 |
CustomerNotExists (it was not migrated, or user doesn't have enough permissions) |
7 |
MissingInputParameters |
API/UsageReport
/api/UsageReport/AllCompanies/products
/api/UsageReport/SelectedCompanies/products
/api/UsageReport/AllCompanies/categories
/api/UsageReport/SelectedCompanies/categories
/api/UsageReport/Monthly/products
/api/UsageReport/Monthly/categories
/api/UsageReport/Daily/products
/api/UsageReport/Daily/categories
Code: 5
SubCode |
Error cause |
---|---|
2 |
InvalidCompanyId |
3 |
InvalidDate |
Terms of use (error codes)
Code:10
SubCode |
Error cause |
---|---|
1 |
Terms of use not found. |