{"modulePath":"github.com/erply/api-go-wrapper","version":"v1.14.0","isLatest":false,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package errors\n\n## Types\n\n```go\ntype ApiError int\n```\n\n```go\nconst (\n\tServerMaintenance                                        ApiError = 1000\n\tAccountNotFound                                          ApiError = 1001\n\tHourlyRequestQuota                                       ApiError = 1002\n\tAccountDbConnError                                       ApiError = 1003\n\tUnknownApi                                               ApiError = 1005\n\tApiNotAvailable                                          ApiError = 1006\n\tUnknownOutputFormat                                      ApiError = 1007\n\tDbError                                                  ApiError = 1008\n\tMissingAuth                                              ApiError = 1009\n\tRequiredParamMissing                                     ApiError = 1010\n\tInvalidClassifierID                                      ApiError = 1011\n\tParamIsNotUnique                                         ApiError = 1012\n\tInconsistentParam                                        ApiError = 1013\n\tInvalidFormat                                            ApiError = 1014\n\tMalformedRequest                                         ApiError = 1015\n\tInvalidValue                                             ApiError = 1016\n\tIsAlreadyConfirmed                                       ApiError = 1017\n\tMultipleMatchesFound                                     ApiError = 1018\n\tNoRecordsFound                                           ApiError = 1019\n\tTooManyBulkSubRequests                                   ApiError = 1020\n\tSameInstanceIsRunning                                    ApiError = 1021\n\tRelatedDeletionError                                     ApiError = 1022\n\tWrongRowsSequence                                        ApiError = 1023\n\tMasterListLimitation                                     ApiError = 1024\n\tBinNotEmpty                                              ApiError = 1025\n\tIdenticalRecordExists                                    ApiError = 1026\n\tNotAllowedToChangeValue                                  ApiError = 1027\n\tNotUsableField                                           ApiError = 1028\n\tIncorrectList                                            ApiError = 1029\n\tArrayValueRequired                                       ApiError = 1030\n\tMissingCouponError                                       ApiError = 1040\n\tCouponAlredyUsedError                                    ApiError = 1041\n\tNotEnoughRewardPoints                                    ApiError = 1042\n\tAppointmentBusyError                                     ApiError = 1043\n\tNotPossibleTimeSlots                                     ApiError = 1044\n\tCouponExpired                                            ApiError = 1045\n\tConflictingRequirements                                  ApiError = 1046\n\tNoPromotionRequirements                                  ApiError = 1047\n\tConflictingAwards                                        ApiError = 1048\n\tAwardsNotSpecified                                       ApiError = 1049\n\tAuthMissing                                              ApiError = 1050\n\tLoginFailed                                              ApiError = 1051\n\tUserBlocked                                              ApiError = 1052\n\tMissingSavedPassword                                     ApiError = 1053\n\tAPISessionExpired                                        ApiError = 1054\n\tInvalidSession                                           ApiError = 1055\n\tSessionTooOld                                            ApiError = 1056\n\tDemoAccountExpired                                       ApiError = 1057\n\tPinLoginNotSupported                                     ApiError = 1058\n\tNoUserGroupDetected                                      ApiError = 1059\n\tNoViewingRights                                          ApiError = 1060\n\tNoAddingRights                                           ApiError = 1061\n\tNoEditingRights                                          ApiError = 1062\n\tNoDeletingRights                                         ApiError = 1063\n\tNoLocationAccess                                         ApiError = 1064\n\tNoAPIAccess                                              ApiError = 1065\n\tNoGroupManagementRights                                  ApiError = 1066\n\tWrongAccountFranchise                                    ApiError = 1067\n\tAccountNotConfirmed                                      ApiError = 1068\n\tBuyUpfrontOnly                                           ApiError = 1071\n\tNoPointsEarned                                           ApiError = 1072\n\tInconsistentDocumentsForInvoice                          ApiError = 1073\n\tWrongSourceDocument                                      ApiError = 1074\n\tMultiComponentsTax                                       ApiError = 1075\n\tWrongSalesPromotionType                                  ApiError = 1076\n\tWrongPriceListAssociation                                ApiError = 1077\n\tAmountFieldError                                         ApiError = 1078\n\tProductIDChangeFailure                                   ApiError = 1079\n\tPrintingServiceFailure                                   ApiError = 1080\n\tEmailSendingFailure                                      ApiError = 1081\n\tEmailSettingFailure                                      ApiError = 1082\n\tWrongMasterListSetup                                     ApiError = 1083\n\tWrongMasterListUniqueField                               ApiError = 1084\n\tNoFileAttached                                           ApiError = 1090\n\tWrongFileEncoding                                        ApiError = 1091\n\tTooBigFile                                               ApiError = 1092\n\tPasswordLengthFailure                                    ApiError = 1100\n\tWrongLettersInPassword                                   ApiError = 1101\n\tPasswordComplexityError                                  ApiError = 1102\n\tPasswordChangeLimitFailure                               ApiError = 1103\n\tMultipleConflictingSettingsInSalesPromotion              ApiError = 1110\n\tSalesPromotionPurchasedAmountConflict                    ApiError = 1111\n\tSalesPromotionMultipleConflictingPurchaseOptions         ApiError = 1112\n\tSalesPromotionAwardedProductWithSumOffConflict           ApiError = 1113\n\tSalesPromotionAwardedProductConflict                     ApiError = 1114\n\tSalesPromotionPercentageOffConflict                      ApiError = 1115\n\tSalesPromotionSumOffConflict                             ApiError = 1116\n\tSalesPromotionPriceWithPurchasedAmountConflict           ApiError = 1117\n\tSalesPromotionMaxPointsDiscountWithRewardPointsConflict  ApiError = 1118\n\tSalesPromotionLowestPriceWithSumOffConflict              ApiError = 1119\n\tCustomerRegistryServiceUsed                              ApiError = 1120\n\tCannotChangeTypeOfDocument                               ApiError = 1121\n\tSalesPromotionSpecialPriceWithPurchasedAmountConflict    ApiError = 1122\n\tSalesPromotionPercentageOffWithPurchasedAmountConflict   ApiError = 1123\n\tSalesDocumentAccountNeedsUpdate                          ApiError = 1124\n\tAccountLimitationOnIntegration                           ApiError = 1126\n\tAccountInputFieldIsNotAllowed                            ApiError = 1127\n\tGreekAccountsOnly                                        ApiError = 1128\n\tOnlyOneValueForSalesPromotion                            ApiError = 1129\n\tWrongBillingAssociation                                  ApiError = 1130\n\tSalesPromotionWrongReasonCode                            ApiError = 1131\n\tSalesPromotionPurchasedProductWithSumOffConflict         ApiError = 1132\n\tSalesPromotionPurchasedProductSameAmountError            ApiError = 1133\n\tSalesPromotionAwardedProductAmountError                  ApiError = 1134\n\tNoAssortmentPossibleForLocation                          ApiError = 1136\n\tTooManyProducts                                          ApiError = 1137\n\tTooManyBillingIds                                        ApiError = 1138\n\tSalesPromotionSpecialUnitPurchasedAmountConflict         ApiError = 1139\n\tSalesPromotionMaxItemsBiggerThanPurchasedAmount          ApiError = 1140\n\tSalesPromotionPurchasedAmountMissingPurchasedProductData ApiError = 1141\n\tExternalCouponRegistryService                            ApiError = 1142\n\tExternalCouponRegistryServiceWrongInputField             ApiError = 1143\n\tSalesPromotionRedemptionLimitTooBig                      ApiError = 1144\n\tSalesPromotionRedemptionLimitWithMaxItemsConflict        ApiError = 1145\n\tNoEmployeeRecord                                         ApiError = 1146\n\tComplianceAlreadyConfirmed                               ApiError = 1147\n\tNoAccessToCustomerData                                   ApiError = 1148\n\tNonEuCountry                                             ApiError = 1149\n\tIntegrationSpecificFieldMissingInputParameter            ApiError = 1150\n\tProductAlreadyAppearsInSpecialPriceList                  ApiError = 1151\n\tPriceListOverlapsWithSpecialPriceList                    ApiError = 1152\n\tWrongPurposeForReasonCode                                ApiError = 1153\n\tOldInventoryModule                                       ApiError = 1154\n\tCreateAccountError                                       ApiError = 1155\n\tValueLengthError                                         ApiError = 1156\n\tBulkSubRequestDocumentError                              ApiError = 1157\n\tBulkSubRequestDuplicateError                             ApiError = 1158\n\tEuAccountsField                                          ApiError = 1159\n\tGiftCardVatRateWithPaymentTypeConflict                   ApiError = 1160\n\tPosAppRequestType                                        ApiError = 1161\n\tTooLongListOfElements                                    ApiError = 1162\n\tCustomerCodeMissingInJWT                                 ApiError = 1170\n\tNoRightsForBackOffice                                    ApiError = 1171\n\tMissingUsernameInJWT                                     ApiError = 1172\n\tMissingUserName                                          ApiError = 1173\n\tPendingStatusForUser                                     ApiError = 1174\n\tUsernameAlreadyExists                                    ApiError = 1175\n\tNotPossibleToExtendSessionForJWT                         ApiError = 1176\n\tSignupNotAllowedForCountry                               ApiError = 1177\n\tContactPersonBelongsToAnotherContact                     ApiError = 1178\n\tDateIsNotFutureError                                     ApiError = 1179\n\tWrongVersionNumberForInvoice                             ApiError = 1180\n\tStockTakingIsConfirmed                                   ApiError = 1181\n\tSalesPromotionFlagExcludePromotionWrongValue             ApiError = 1182\n\tCDNIntegrationRequired                                   ApiError = 1183\n\tSalesPromotionMaxNrOfMatchingItemsConflictingValue       ApiError = 1184\n\tSalesPromotionMaxNrOfMatchingItemsWrongValue             ApiError = 1185\n\tStocktakingAlreadyConnectedToDocumentType                ApiError = 1186\n\tConfigurationCallIsMissing                               ApiError = 1187\n\tConfigurationCallIsInvalid                               ApiError = 1188\n\tWarehouseNoLocalQuickButtonEnabled                       ApiError = 1189\n\tWrongJWTAccount                                          ApiError = 1190\n\tJWTDecodingFailure                                       ApiError = 1191\n\tJWTExpired                                               ApiError = 1194\n\tWrongLanguageCode                                        ApiError = 1195\n\tNotNewPassword                                           ApiError = 1196\n)\n```\n\n```go\nfunc (s ApiError) String() string\n```\n\n","path":"github.com/erply/api-go-wrapper/pkg/api/errors","name":"errors","synopsis":"","isRedistributable":true}
