Skip to content

List of all errors

Vyatcheslav Suharnikov edited this page Sep 10, 2021 · 18 revisions

List of entities

# Code Name
1 0 common
2 1 request
3 2 feature
4 3 account
5 4 address
6 5 exchangeTx
7 6 balance
8 7 script
9 8 orderBook
10 9 order
11 10 version
12 11 asset
13 12 pubKey
14 13 signature
15 14 assetPair
16 15 amount
17 16 price
18 17 fee
19 18 expiration
20 19 marketOrder
21 20 rate
22 21 tpe
23 22 network
24 100 producer
25 101 connectivity
26 102 auth
27 103 params
28 104 webSocket
29 105 token
30 106 payload
31 107 subscription
32 108 depth

List of error classes

# Code Name
1 0 common
2 1 broken
3 2 denied
4 3 unsupported
5 4 unexpected
6 5 blacklisted
7 6 notEnough
8 7 limitReached
9 8 duplicate
10 9 notFound
11 10 canceled
12 11 immutable
13 12 timedOut
14 13 starting
15 14 stopping
16 15 outOfBound
17 16 disabled
18 17 notProvided
19 18 optimization
20 19 pending

List of errors

# Code Object Part Class Name
1 4 common common unexpected UnexpectedError
2 13 common common starting MatcherIsStarting
3 14 common common stopping MatcherIsStopping
4 515 common feature unsupported FeatureNotImplemented
5 528 common feature disabled FeatureDisabled
6 3076 common pubKey unexpected UnexpectedMatcherPublicKey
7 25601 common producer broken CanNotPersistEvent
8 1048576 request common common RequestArgumentInvalid
9 1048577 request common broken InvalidJson
10 1048579 request common unsupported UnsupportedContentType
11 1048580 request common unexpected CancelRequestIsIncomplete
12 1048590 request common stopping RequestTimeout
13 1051904 request signature common RequestInvalidSignature
14 1076224 request depth common InvalidDepth
15 2097923 feature account unsupported AccountFeatureUnsupported
16 2099459 feature order unsupported OrderVersionUnsupported
17 2099971 feature asset unsupported AssetFeatureUnsupported
18 3145733 account common blacklisted AddressIsBlacklisted
19 3147270 account balance notEnough BalanceNotEnough
20 3147520 account script common AccountScriptReturnedError
21 3147521 account script broken AccountScriptException
22 3147522 account script denied AccountScriptDeniedOrder
23 3147524 account script unexpected AccountScriptUnexpectResult
24 3148035 account order unsupported AccountNotSupportOrderVersion
25 3148039 account order limitReached ActiveOrdersLimitReached
26 3148040 account order duplicate OrderDuplicate
27 3148801 account pubKey broken UserPublicKeyIsNotValid
28 4194304 address common common InvalidAddress
29 5245184 exchangeTx order common CanNotCreateExchangeTransaction
30 8388609 orderBook common broken OrderBookBroken
31 8388612 orderBook common unexpected OrderBookUnexpectedState
32 8388624 orderBook common disabled OrderBookStopped
33 9437184 order common common OrderCommonValidationFailed
34 9437185 order common broken InvalidBase58String
35 9437191 order common limitReached OrderFull
36 9437193 order common notFound OrderNotFound
37 9437194 order common canceled OrderCanceled
38 9437195 order common immutable OrderFinalized
39 9437203 order common pending OrderIsPlacing
40 9439746 order version denied OrderVersionDenied
41 9439747 order version unsupported UnsupportedOrderVersion
42 9440512 order signature common OrderInvalidSignature
43 9440770 order assetPair denied AssetPairIsDenied
44 9440771 order assetPair unsupported OrderAssetPairReversed
45 9440776 order assetPair duplicate AssetPairSameAssets
46 9441026 order amount denied OrderInvalidAmount
47 9441282 order price denied OrderInvalidPrice
48 9441284 order price unexpected PriceLastDecimalsMustBeZero
49 9441286 order price notEnough OrderInvalidPriceLevel
50 9441295 order price outOfBound DeviantOrderPrice
51 9441540 order fee unexpected UnexpectedFeeAsset
52 9441542 order fee notEnough FeeNotEnough
53 9441551 order fee outOfBound DeviantOrderMatcherFee
54 9441798 order expiration notEnough WrongExpiration
55 11534337 asset common broken InvalidAsset
56 11534341 asset common blacklisted AssetBlacklisted
57 11534345 asset common notFound AssetNotFound
58 11536128 asset script common AssetScriptReturnedError
59 11536129 asset script broken AssetScriptException
60 11536130 asset script denied AssetScriptDeniedOrder
61 11536132 asset script unexpected AssetScriptUnexpectResult
62 11538181 asset amount blacklisted AmountAssetBlacklisted
63 11538437 asset price blacklisted PriceAssetBlacklisted
64 11538693 asset fee blacklisted FeeAssetBlacklisted
65 19922960 marketOrder common disabled MarketOrderCancel
66 19927055 marketOrder price outOfBound InvalidMarketOrderPrice
67 20971529 rate common notFound RateNotFound
68 20971531 rate common immutable WavesImmutableRate
69 20971535 rate common outOfBound InvalidAssetRate
70 105906177 connectivity common broken WavesNodeConnectionBroken
71 106954752 auth common common ApiKeyIsNotValid
72 106954769 auth common notProvided ApiKeyIsNotProvided
73 106957828 auth pubKey unexpected AddressAndPublicKeyAreIncompatible
74 106960131 auth tpe unsupported SubscriptionAuthTypeUnsupported
75 106981137 auth params notProvided AuthIsRequired
76 109051922 webSocket common optimization Balancing
77 109077767 webSocket connectivity limitReached WsConnectionMaxLifetimeExceeded
78 109077772 webSocket connectivity timedOut WsConnectionPongTimeout
79 109079303 webSocket subscription limitReached SubscriptionsLimitReached
80 110100480 token common common JwtCommonError
81 110100481 token common broken JwtBroken
82 110103809 token signature broken InvalidJwtPayloadSignature
83 110105088 token expiration common SubscriptionTokenExpired
84 110106116 token network unexpected TokenNetworkUnexpected
85 110127617 token payload broken JwtPayloadBroken

Detailed errors

ExchangeTx errors

CanNotCreateExchangeTransaction

Code: 5245184

Sample
{
  "template" : "Can't verify the order by an exchange transaction: {{details}}",
  "params" : {
    "details" : "some string"
  },
  "error" : 5245184,
  "message" : "Can't verify the order by an exchange transaction: some string"
}

Rate errors

RateNotFound

Code: 20971529

Sample
{
  "template" : "The rate for the asset {{assetId}} was not specified",
  "params" : {
    "assetId" : "Co11Tbj83TeZCnuXrZQwv6Bs4XG2sm1vGQiQ4FLDjJWs"
  },
  "error" : 20971529,
  "message" : "The rate for the asset Co11Tbj83TeZCnuXrZQwv6Bs4XG2sm1vGQiQ4FLDjJWs was not specified"
}

WavesImmutableRate

Code: 20971531

Sample
{
  "template" : "The rate for {{assetId}} cannot be changed",
  "params" : {
    "assetId" : "WAVES"
  },
  "error" : 20971531,
  "message" : "The rate for WAVES cannot be changed"
}

InvalidAssetRate

Code: 20971535

Sample
{
  "template" : "Asset rate should be positive and should fit into double",
  "error" : 20971535,
  "message" : "Asset rate should be positive and should fit into double"
}

Request errors

RequestArgumentInvalid

Code: 1048576

Sample
{
  "template" : "The request argument '{{name}}' is invalid",
  "params" : {
    "name" : "some string"
  },
  "error" : 1048576,
  "message" : "The request argument 'some string' is invalid"
}

InvalidJson

Code: 1048577

Sample
{
  "template" : "The provided JSON contains invalid fields: {{invalidFields}}. Check the documentation",
  "params" : {
    "invalidFields" : [ "some string" ]
  },
  "error" : 1048577,
  "message" : "The provided JSON contains invalid fields: some string. Check the documentation"
}

UnsupportedContentType

Code: 1048579

Sample
{
  "template" : "The provided Content-Type is not supported, please provide JSON",
  "error" : 1048579,
  "message" : "The provided Content-Type is not supported, please provide JSON"
}

CancelRequestIsIncomplete

Code: 1048580

Sample
{
  "template" : "Either timestamp or orderId must be specified",
  "error" : 1048580,
  "message" : "Either timestamp or orderId must be specified"
}

RequestTimeout

Code: 1048590

Sample
{
  "template" : "Request timed out. Please retry later",
  "error" : 1048590,
  "message" : "Request timed out. Please retry later"
}

RequestInvalidSignature

Code: 1051904

Sample
{
  "template" : "The request has an invalid signature",
  "error" : 1051904,
  "message" : "The request has an invalid signature"
}

InvalidDepth

Code: 1076224

Sample
{
  "template" : "Provided depth is not correct, reason: {{reason}}",
  "params" : {
    "reason" : "some string"
  },
  "error" : 1076224,
  "message" : "Provided depth is not correct, reason: some string"
}

Auth errors

ApiKeyIsNotValid

Code: 106954752

Sample
{
  "template" : "Provided API key is not correct",
  "error" : 106954752,
  "message" : "Provided API key is not correct"
}

ApiKeyIsNotProvided

Code: 106954769

Sample
{
  "template" : "API key is not provided in the configuration, please contact with the administrator",
  "error" : 106954769,
  "message" : "API key is not provided in the configuration, please contact with the administrator"
}

AddressAndPublicKeyAreIncompatible

Code: 106957828

Sample
{
  "template" : "Address {{address}} and public key {{publicKey}} are incompatible",
  "params" : {
    "address" : "3N4ptMNQiJuKt3BauPjzAhfDww8ruJLGAbe",
    "publicKey" : "4jSaBhDPm3"
  },
  "error" : 106957828,
  "message" : "Address 3N4ptMNQiJuKt3BauPjzAhfDww8ruJLGAbe and public key 4jSaBhDPm3 are incompatible"
}

SubscriptionAuthTypeUnsupported

Code: 106960131

Sample
{
  "template" : "The subscription authentication type '{{given}}' is not supported. Required one of: {{required}}",
  "params" : {
    "given" : "some string",
    "required" : [ "some string" ]
  },
  "error" : 106960131,
  "message" : "The subscription authentication type 'some string' is not supported. Required one of: some string"
}

AuthIsRequired

Code: 106981137

Sample
{
  "template" : "The authentication is required. Please read the documentation",
  "error" : 106981137,
  "message" : "The authentication is required. Please read the documentation"
}

Order errors

OrderCommonValidationFailed

Code: 9437184

Sample
{
  "template" : "The order is invalid: {{details}}",
  "params" : {
    "details" : "some string"
  },
  "error" : 9437184,
  "message" : "The order is invalid: some string"
}

InvalidBase58String

Code: 9437185

Sample
{
  "template" : "Provided value is not a correct base58 string, reason: {{reason}}",
  "params" : {
    "reason" : "some string"
  },
  "error" : 9437185,
  "message" : "Provided value is not a correct base58 string, reason: some string"
}

OrderFull

Code: 9437191

Sample
{
  "template" : "The order {{id}} is filled",
  "params" : {
    "id" : "4jSaBhDPm3"
  },
  "error" : 9437191,
  "message" : "The order 4jSaBhDPm3 is filled"
}

OrderNotFound

Code: 9437193

Sample
{
  "template" : "The order {{id}} not found",
  "params" : {
    "id" : "4jSaBhDPm3"
  },
  "error" : 9437193,
  "message" : "The order 4jSaBhDPm3 not found"
}

OrderCanceled

Code: 9437194

Sample
{
  "template" : "The order {{id}} is canceled",
  "params" : {
    "id" : "4jSaBhDPm3"
  },
  "error" : 9437194,
  "message" : "The order 4jSaBhDPm3 is canceled"
}

OrderFinalized

Code: 9437195

Sample
{
  "template" : "The order {{id}} is finalized",
  "params" : {
    "id" : "4jSaBhDPm3"
  },
  "error" : 9437195,
  "message" : "The order 4jSaBhDPm3 is finalized"
}

OrderIsPlacing

Code: 9437203

Sample
{
  "template" : "The order {{id}} is in the process of placing, please retry later",
  "params" : {
    "id" : "4jSaBhDPm3"
  },
  "error" : 9437203,
  "message" : "The order 4jSaBhDPm3 is in the process of placing, please retry later"
}

OrderVersionDenied

Code: 9439746

Sample
{
  "template" : "The orders of version {{version}} are denied by matcher. Allowed order versions are: {{allowedOrderVersions}}",
  "params" : {
    "version" : 1,
    "allowedOrderVersions" : [ 1 ]
  },
  "error" : 9439746,
  "message" : "The orders of version 1 are denied by matcher. Allowed order versions are: 1"
}

UnsupportedOrderVersion

Code: 9439747

Sample
{
  "template" : "The orders of version {{version}} is not supported. Supported order versions can be obtained via /matcher/settings GET method",
  "params" : {
    "version" : 1
  },
  "error" : 9439747,
  "message" : "The orders of version 1 is not supported. Supported order versions can be obtained via /matcher/settings GET method"
}

OrderInvalidSignature

Code: 9440512

Sample
{
  "template" : "The signature of order {{id}} is invalid: {{details}}",
  "params" : {
    "id" : "4jSaBhDPm3",
    "details" : "some string"
  },
  "error" : 9440512,
  "message" : "The signature of order 4jSaBhDPm3 is invalid: some string"
}

AssetPairIsDenied

Code: 9440770

Sample
{
  "template" : "Trading is denied for the {{assetPair}} asset pair",
  "params" : {
    "assetPair" : {
      "amountAsset" : "Emn8cyGDFgnLCKLTXqVWhKJARhtR2muBUuZaSmqNzDfn",
      "priceAsset" : "Co11Tbj83TeZCnuXrZQwv6Bs4XG2sm1vGQiQ4FLDjJWs"
    }
  },
  "error" : 9440770,
  "message" : "Trading is denied for the Emn8cyGDFgnLCKLTXqVWhKJARhtR2muBUuZaSmqNzDfn-Co11Tbj83TeZCnuXrZQwv6Bs4XG2sm1vGQiQ4FLDjJWs asset pair"
}

OrderAssetPairReversed

Code: 9440771

Sample
{
  "template" : "The {{assetPair}} asset pair should be reversed",
  "params" : {
    "assetPair" : {
      "amountAsset" : "Emn8cyGDFgnLCKLTXqVWhKJARhtR2muBUuZaSmqNzDfn",
      "priceAsset" : "Co11Tbj83TeZCnuXrZQwv6Bs4XG2sm1vGQiQ4FLDjJWs"
    }
  },
  "error" : 9440771,
  "message" : "The Emn8cyGDFgnLCKLTXqVWhKJARhtR2muBUuZaSmqNzDfn-Co11Tbj83TeZCnuXrZQwv6Bs4XG2sm1vGQiQ4FLDjJWs asset pair should be reversed"
}

AssetPairSameAssets

Code: 9440776

Sample
{
  "template" : "The amount and price assets must be different, but they are: {{assetId}}",
  "params" : {
    "assetId" : "Co11Tbj83TeZCnuXrZQwv6Bs4XG2sm1vGQiQ4FLDjJWs"
  },
  "error" : 9440776,
  "message" : "The amount and price assets must be different, but they are: Co11Tbj83TeZCnuXrZQwv6Bs4XG2sm1vGQiQ4FLDjJWs"
}

OrderInvalidAmount

Code: 9441026

Sample
{
  "template" : "The order's amount {{amount}} does not meet matcher's requirements: max amount = {{max}}, min amount = {{min}}, step amount = {{step}}",
  "params" : {
    "amount" : {
      "volume" : "7.2",
      "assetId" : "Co11Tbj83TeZCnuXrZQwv6Bs4XG2sm1vGQiQ4FLDjJWs"
    },
    "max" : "6.1",
    "min" : "6.1",
    "step" : "6.1"
  },
  "error" : 9441026,
  "message" : "The order's amount 7.2 Co11Tbj83TeZCnuXrZQwv6Bs4XG2sm1vGQiQ4FLDjJWs does not meet matcher's requirements: max amount = 6.1, min amount = 6.1, step amount = 6.1"
}

OrderInvalidPrice

Code: 9441282

Sample
{
  "template" : "The order's price {{price}} does not meet matcher's requirements: max price = {{max}}, min price = {{min}}, step price = {{step}}",
  "params" : {
    "price" : "7.2",
    "max" : "6.1",
    "min" : "6.1",
    "step" : "6.1"
  },
  "error" : 9441282,
  "message" : "The order's price 7.2 does not meet matcher's requirements: max price = 6.1, min price = 6.1, step price = 6.1"
}

PriceLastDecimalsMustBeZero

Code: 9441284

Sample
{
  "template" : "Invalid price, last {{insignificantDecimals}} digits must be 0",
  "params" : {
    "insignificantDecimals" : 4
  },
  "error" : 9441284,
  "message" : "Invalid price, last 4 digits must be 0"
}

OrderInvalidPriceLevel

Code: 9441286

Sample
{
  "template" : "The buy order's price {{price}} does not meet matcher's requirements: price >= {{tickSize}} (actual tick size). Orders can not be placed into level with price 0",
  "params" : {
    "price" : "7.2",
    "tickSize" : "7.2"
  },
  "error" : 9441286,
  "message" : "The buy order's price 7.2 does not meet matcher's requirements: price >= 7.2 (actual tick size). Orders can not be placed into level with price 0"
}

DeviantOrderPrice

Code: 9441295

Sample
{
  "template" : "The buy order's price {{price}} is out of deviation bounds. It should meet the following matcher's requirements: {{bestBidPercent}}% of best bid price <= order price <= {{bestAskPercent}}% of best ask price",
  "params" : {
    "price" : "7.2",
    "bestBidPercent" : "93.9",
    "bestAskPercent" : "106.1"
  },
  "error" : 9441295,
  "message" : "The buy order's price 7.2 is out of deviation bounds. It should meet the following matcher's requirements: 93.9% of best bid price <= order price <= 106.1% of best ask price"
}

UnexpectedFeeAsset

Code: 9441540

Sample
{
  "template" : "Required one of the following fee asset: {{required}}. But given {{given}}",
  "params" : {
    "required" : [ "Co11Tbj83TeZCnuXrZQwv6Bs4XG2sm1vGQiQ4FLDjJWs" ],
    "given" : "Co11Tbj83TeZCnuXrZQwv6Bs4XG2sm1vGQiQ4FLDjJWs"
  },
  "error" : 9441540,
  "message" : "Required one of the following fee asset: Co11Tbj83TeZCnuXrZQwv6Bs4XG2sm1vGQiQ4FLDjJWs. But given Co11Tbj83TeZCnuXrZQwv6Bs4XG2sm1vGQiQ4FLDjJWs"
}

FeeNotEnough

Code: 9441542

Sample
{
  "template" : "Required {{required}} as fee for this order, but given {{given}}",
  "params" : {
    "required" : {
      "volume" : "7.2",
      "assetId" : "Co11Tbj83TeZCnuXrZQwv6Bs4XG2sm1vGQiQ4FLDjJWs"
    },
    "given" : {
      "volume" : "7.2",
      "assetId" : "Co11Tbj83TeZCnuXrZQwv6Bs4XG2sm1vGQiQ4FLDjJWs"
    }
  },
  "error" : 9441542,
  "message" : "Required 7.2 Co11Tbj83TeZCnuXrZQwv6Bs4XG2sm1vGQiQ4FLDjJWs as fee for this order, but given 7.2 Co11Tbj83TeZCnuXrZQwv6Bs4XG2sm1vGQiQ4FLDjJWs"
}

DeviantOrderMatcherFee

Code: 9441551

Sample
{
  "template" : "The buy order's matcher fee {{matcherFee}} is out of deviation bounds. It should meet the following matcher's requirements: matcher fee >= {{bestAskFeePercent}}% of fee which should be paid in case of matching with best ask",
  "params" : {
    "matcherFee" : {
      "volume" : "7.2",
      "assetId" : "Co11Tbj83TeZCnuXrZQwv6Bs4XG2sm1vGQiQ4FLDjJWs"
    },
    "bestAskFeePercent" : "93.9"
  },
  "error" : 9441551,
  "message" : "The buy order's matcher fee 7.2 Co11Tbj83TeZCnuXrZQwv6Bs4XG2sm1vGQiQ4FLDjJWs is out of deviation bounds. It should meet the following matcher's requirements: matcher fee >= 93.9% of fee which should be paid in case of matching with best ask"
}

WrongExpiration

Code: 9441798

Sample
{
  "template" : "The expiration should be at least {{currentTimestamp}} + {{minExpirationOffset}} = {{minExpiration}}, but it is {{given}}",
  "params" : {
    "currentTimestamp" : 5,
    "minExpirationOffset" : 5,
    "minExpiration" : 10,
    "given" : 5
  },
  "error" : 9441798,
  "message" : "The expiration should be at least 5 + 5 = 10, but it is 5"
}

Account errors

AddressIsBlacklisted

Code: 3145733

Sample
{
  "template" : "The account {{address}} is blacklisted",
  "params" : {
    "address" : "3N4ptMNQiJuKt3BauPjzAhfDww8ruJLGAbe"
  },
  "error" : 3145733,
  "message" : "The account 3N4ptMNQiJuKt3BauPjzAhfDww8ruJLGAbe is blacklisted"
}

BalanceNotEnough

Code: 3147270

Sample
{
  "template" : "Not enough tradable balance. The order requires at least {{required}} on balance, but available are {{actual}}",
  "params" : {
    "required" : {
      "Co11Tbj83TeZCnuXrZQwv6Bs4XG2sm1vGQiQ4FLDjJWs" : "7.2"
    },
    "actual" : {
      "Co11Tbj83TeZCnuXrZQwv6Bs4XG2sm1vGQiQ4FLDjJWs" : "7.2"
    }
  },
  "error" : 3147270,
  "message" : "Not enough tradable balance. The order requires at least 7.2 Co11Tbj83TeZCnuXrZQwv6Bs4XG2sm1vGQiQ4FLDjJWs on balance, but available are 7.2 Co11Tbj83TeZCnuXrZQwv6Bs4XG2sm1vGQiQ4FLDjJWs"
}

AccountScriptReturnedError

Code: 3147520

Sample
{
  "template" : "The account's script of {{address}} returned the error: {{scriptError}}",
  "params" : {
    "address" : "3N4ptMNQiJuKt3BauPjzAhfDww8ruJLGAbe",
    "scriptError" : "some string"
  },
  "error" : 3147520,
  "message" : "The account's script of 3N4ptMNQiJuKt3BauPjzAhfDww8ruJLGAbe returned the error: some string"
}

AccountScriptException

Code: 3147521

Sample
{
  "template" : "The account's script of {{address}} is broken, please contact with the owner. The returned error is {{errorName}}, the text is: {{errorText}}",
  "params" : {
    "address" : "3N4ptMNQiJuKt3BauPjzAhfDww8ruJLGAbe",
    "errorName" : "some string",
    "errorText" : "some string"
  },
  "error" : 3147521,
  "message" : "The account's script of 3N4ptMNQiJuKt3BauPjzAhfDww8ruJLGAbe is broken, please contact with the owner. The returned error is some string, the text is: some string"
}

AccountScriptDeniedOrder

Code: 3147522

Sample
{
  "template" : "The account's script of {{address}} rejected the order",
  "params" : {
    "address" : "3N4ptMNQiJuKt3BauPjzAhfDww8ruJLGAbe"
  },
  "error" : 3147522,
  "message" : "The account's script of 3N4ptMNQiJuKt3BauPjzAhfDww8ruJLGAbe rejected the order"
}

AccountScriptUnexpectResult

Code: 3147524

Sample
{
  "template" : "The account's script of {{address}} is broken, please contact with the owner. The returned object is '{{returnedObject}}'",
  "params" : {
    "address" : "3N4ptMNQiJuKt3BauPjzAhfDww8ruJLGAbe",
    "returnedObject" : "some string"
  },
  "error" : 3147524,
  "message" : "The account's script of 3N4ptMNQiJuKt3BauPjzAhfDww8ruJLGAbe is broken, please contact with the owner. The returned object is 'some string'"
}

AccountNotSupportOrderVersion

Code: 3148035

Sample
{
  "template" : "The account {{address}} requires the version >= {{required}}, but given {{given}}",
  "params" : {
    "address" : "3N4ptMNQiJuKt3BauPjzAhfDww8ruJLGAbe",
    "required" : 1,
    "given" : 1
  },
  "error" : 3148035,
  "message" : "The account 3N4ptMNQiJuKt3BauPjzAhfDww8ruJLGAbe requires the version >= 1, but given 1"
}

ActiveOrdersLimitReached

Code: 3148039

Sample
{
  "template" : "The limit of {{limit}} active orders has been reached",
  "params" : {
    "limit" : 5
  },
  "error" : 3148039,
  "message" : "The limit of 5 active orders has been reached"
}

OrderDuplicate

Code: 3148040

Sample
{
  "template" : "The order {{id}} has already been placed",
  "params" : {
    "id" : "4jSaBhDPm3"
  },
  "error" : 3148040,
  "message" : "The order 4jSaBhDPm3 has already been placed"
}

UserPublicKeyIsNotValid

Code: 3148801

Sample
{
  "template" : "Provided public key is not correct, reason: {{reason}}",
  "params" : {
    "reason" : "some string"
  },
  "error" : 3148801,
  "message" : "Provided public key is not correct, reason: some string"
}

Asset errors

InvalidAsset

Code: 11534337

Sample
{
  "template" : "The asset '{{assetId}}' is wrong, reason: {{reason}}",
  "params" : {
    "assetId" : "some string",
    "reason" : "some string"
  },
  "error" : 11534337,
  "message" : "The asset 'some string' is wrong, reason: some string"
}

AssetBlacklisted

Code: 11534341

Sample
{
  "template" : "The asset {{assetId}} is blacklisted",
  "params" : {
    "assetId" : "Emn8cyGDFgnLCKLTXqVWhKJARhtR2muBUuZaSmqNzDfn"
  },
  "error" : 11534341,
  "message" : "The asset Emn8cyGDFgnLCKLTXqVWhKJARhtR2muBUuZaSmqNzDfn is blacklisted"
}

AssetNotFound

Code: 11534345

Sample
{
  "template" : "The asset {{assetId}} not found",
  "params" : {
    "assetId" : "Emn8cyGDFgnLCKLTXqVWhKJARhtR2muBUuZaSmqNzDfn"
  },
  "error" : 11534345,
  "message" : "The asset Emn8cyGDFgnLCKLTXqVWhKJARhtR2muBUuZaSmqNzDfn not found"
}

AssetScriptReturnedError

Code: 11536128

Sample
{
  "template" : "The asset's script of {{assetId}} returned the error: {{scriptError}}",
  "params" : {
    "assetId" : "Emn8cyGDFgnLCKLTXqVWhKJARhtR2muBUuZaSmqNzDfn",
    "scriptError" : "some string"
  },
  "error" : 11536128,
  "message" : "The asset's script of Emn8cyGDFgnLCKLTXqVWhKJARhtR2muBUuZaSmqNzDfn returned the error: some string"
}

AssetScriptException

Code: 11536129

Sample
{
  "template" : "The asset's script of {{assetId}} is broken, please contact with the owner. The returned error is {{errorName}}, the text is: {{errorText}}",
  "params" : {
    "assetId" : "Emn8cyGDFgnLCKLTXqVWhKJARhtR2muBUuZaSmqNzDfn",
    "errorName" : "some string",
    "errorText" : "some string"
  },
  "error" : 11536129,
  "message" : "The asset's script of Emn8cyGDFgnLCKLTXqVWhKJARhtR2muBUuZaSmqNzDfn is broken, please contact with the owner. The returned error is some string, the text is: some string"
}

AssetScriptDeniedOrder

Code: 11536130

Sample
{
  "template" : "The asset's script of {{assetId}} rejected the order",
  "params" : {
    "assetId" : "Emn8cyGDFgnLCKLTXqVWhKJARhtR2muBUuZaSmqNzDfn"
  },
  "error" : 11536130,
  "message" : "The asset's script of Emn8cyGDFgnLCKLTXqVWhKJARhtR2muBUuZaSmqNzDfn rejected the order"
}

AssetScriptUnexpectResult

Code: 11536132

Sample
{
  "template" : "The asset's script of {{assetId}} is broken, please contact with the owner. The returned object is '{{returnedObject}}'",
  "params" : {
    "assetId" : "Emn8cyGDFgnLCKLTXqVWhKJARhtR2muBUuZaSmqNzDfn",
    "returnedObject" : "some string"
  },
  "error" : 11536132,
  "message" : "The asset's script of Emn8cyGDFgnLCKLTXqVWhKJARhtR2muBUuZaSmqNzDfn is broken, please contact with the owner. The returned object is 'some string'"
}

AmountAssetBlacklisted

Code: 11538181

Sample
{
  "template" : "The amount asset {{assetId}} is blacklisted",
  "params" : {
    "assetId" : "Emn8cyGDFgnLCKLTXqVWhKJARhtR2muBUuZaSmqNzDfn"
  },
  "error" : 11538181,
  "message" : "The amount asset Emn8cyGDFgnLCKLTXqVWhKJARhtR2muBUuZaSmqNzDfn is blacklisted"
}

PriceAssetBlacklisted

Code: 11538437

Sample
{
  "template" : "The price asset {{assetId}} is blacklisted",
  "params" : {
    "assetId" : "Emn8cyGDFgnLCKLTXqVWhKJARhtR2muBUuZaSmqNzDfn"
  },
  "error" : 11538437,
  "message" : "The price asset Emn8cyGDFgnLCKLTXqVWhKJARhtR2muBUuZaSmqNzDfn is blacklisted"
}

FeeAssetBlacklisted

Code: 11538693

Sample
{
  "template" : "The fee asset {{assetId}} is blacklisted",
  "params" : {
    "assetId" : "Emn8cyGDFgnLCKLTXqVWhKJARhtR2muBUuZaSmqNzDfn"
  },
  "error" : 11538693,
  "message" : "The fee asset Emn8cyGDFgnLCKLTXqVWhKJARhtR2muBUuZaSmqNzDfn is blacklisted"
}

WebSocket errors

Balancing

Code: 109051922

Sample
{
  "template" : "System is balancing the load. Please reconnect",
  "error" : 109051922,
  "message" : "System is balancing the load. Please reconnect"
}

WsConnectionMaxLifetimeExceeded

Code: 109077767

Sample
{
  "template" : "WebSocket has reached max allowed lifetime",
  "error" : 109077767,
  "message" : "WebSocket has reached max allowed lifetime"
}

WsConnectionPongTimeout

Code: 109077772

Sample
{
  "template" : "WebSocket has reached pong timeout",
  "error" : 109077772,
  "message" : "WebSocket has reached pong timeout"
}

SubscriptionsLimitReached

Code: 109079303

Sample
{
  "template" : "The limit of {{limit}} subscriptions of this type was reached. The subscription of {{id}} was stopped",
  "params" : {
    "limit" : 4,
    "id" : "some string"
  },
  "error" : 109079303,
  "message" : "The limit of 4 subscriptions of this type was reached. The subscription of some string was stopped"
}

OrderBook errors

OrderBookBroken

Code: 8388609

Sample
{
  "template" : "The order book for {{assetPair}} is unavailable, please contact with the administrator",
  "params" : {
    "assetPair" : {
      "amountAsset" : "Emn8cyGDFgnLCKLTXqVWhKJARhtR2muBUuZaSmqNzDfn",
      "priceAsset" : "Co11Tbj83TeZCnuXrZQwv6Bs4XG2sm1vGQiQ4FLDjJWs"
    }
  },
  "error" : 8388609,
  "message" : "The order book for Emn8cyGDFgnLCKLTXqVWhKJARhtR2muBUuZaSmqNzDfn-Co11Tbj83TeZCnuXrZQwv6Bs4XG2sm1vGQiQ4FLDjJWs is unavailable, please contact with the administrator"
}

OrderBookUnexpectedState

Code: 8388612

Sample
{
  "template" : "The order book for {{assetPair}} is unexpected state, please contact with the administrator",
  "params" : {
    "assetPair" : {
      "amountAsset" : "Emn8cyGDFgnLCKLTXqVWhKJARhtR2muBUuZaSmqNzDfn",
      "priceAsset" : "Co11Tbj83TeZCnuXrZQwv6Bs4XG2sm1vGQiQ4FLDjJWs"
    }
  },
  "error" : 8388612,
  "message" : "The order book for Emn8cyGDFgnLCKLTXqVWhKJARhtR2muBUuZaSmqNzDfn-Co11Tbj83TeZCnuXrZQwv6Bs4XG2sm1vGQiQ4FLDjJWs is unexpected state, please contact with the administrator"
}

OrderBookStopped

Code: 8388624

Sample
{
  "template" : "The order book for {{assetPair}} is stopped, please contact with the administrator",
  "params" : {
    "assetPair" : {
      "amountAsset" : "Emn8cyGDFgnLCKLTXqVWhKJARhtR2muBUuZaSmqNzDfn",
      "priceAsset" : "Co11Tbj83TeZCnuXrZQwv6Bs4XG2sm1vGQiQ4FLDjJWs"
    }
  },
  "error" : 8388624,
  "message" : "The order book for Emn8cyGDFgnLCKLTXqVWhKJARhtR2muBUuZaSmqNzDfn-Co11Tbj83TeZCnuXrZQwv6Bs4XG2sm1vGQiQ4FLDjJWs is stopped, please contact with the administrator"
}

MarketOrder errors

MarketOrderCancel

Code: 19922960

Sample
{
  "template" : "The market order {{id}} cannot be cancelled manually",
  "params" : {
    "id" : "4jSaBhDPm3"
  },
  "error" : 19922960,
  "message" : "The market order 4jSaBhDPm3 cannot be cancelled manually"
}

InvalidMarketOrderPrice

Code: 19927055

Sample
{
  "template" : "Price of the buy market order ({{orderPrice}}) is too low for its full execution with the current market state",
  "params" : {
    "orderPrice" : "7.2"
  },
  "error" : 19927055,
  "message" : "Price of the buy market order (7.2) is too low for its full execution with the current market state"
}

Address errors

InvalidAddress

Code: 4194304

Sample
{
  "template" : "Provided address is not correct, reason: {{reason}}",
  "params" : {
    "reason" : "some string"
  },
  "error" : 4194304,
  "message" : "Provided address is not correct, reason: some string"
}

Connectivity errors

WavesNodeConnectionBroken

Code: 105906177

Sample
{
  "template" : "Waves Node is unavailable, please retry later or contact with the administrator",
  "error" : 105906177,
  "message" : "Waves Node is unavailable, please retry later or contact with the administrator"
}

Common errors

UnexpectedError

Code: 4

Sample
{
  "template" : "An unexpected error occurred",
  "error" : 4,
  "message" : "An unexpected error occurred"
}

MatcherIsStarting

Code: 13

Sample
{
  "template" : "System is starting. Please retry later",
  "error" : 13,
  "message" : "System is starting. Please retry later"
}

MatcherIsStopping

Code: 14

Sample
{
  "template" : "System is shutting down. Please retry later",
  "error" : 14,
  "message" : "System is shutting down. Please retry later"
}

FeatureNotImplemented

Code: 515

Sample
{
  "template" : "This feature is not implemented",
  "error" : 515,
  "message" : "This feature is not implemented"
}

FeatureDisabled

Code: 528

Sample
{
  "template" : "This feature is disabled, contact with the administrator",
  "error" : 528,
  "message" : "This feature is disabled, contact with the administrator"
}

UnexpectedMatcherPublicKey

Code: 3076

Sample
{
  "template" : "The required matcher public key for this DEX is {{required}}, but given {{given}}",
  "params" : {
    "required" : "4jSaBhDPm3",
    "given" : "4jSaBhDPm3"
  },
  "error" : 3076,
  "message" : "The required matcher public key for this DEX is 4jSaBhDPm3, but given 4jSaBhDPm3"
}

CanNotPersistEvent

Code: 25601

Sample
{
  "template" : "Can not persist command, please retry later or contact with the administrator",
  "error" : 25601,
  "message" : "Can not persist command, please retry later or contact with the administrator"
}

Token errors

JwtCommonError

Code: 110100480

Sample
{
  "template" : "JWT parsing and validation failed: {{message}}",
  "params" : {
    "message" : "some string"
  },
  "error" : 110100480,
  "message" : "JWT parsing and validation failed: some string"
}

JwtBroken

Code: 110100481

Sample
{
  "template" : "JWT has invalid format",
  "error" : 110100481,
  "message" : "JWT has invalid format"
}

InvalidJwtPayloadSignature

Code: 110103809

Sample
{
  "template" : "The token payload signature is invalid",
  "error" : 110103809,
  "message" : "The token payload signature is invalid"
}

SubscriptionTokenExpired

Code: 110105088

Sample
{
  "template" : "The subscription token for address {{address}} expired",
  "params" : {
    "address" : "3N4ptMNQiJuKt3BauPjzAhfDww8ruJLGAbe"
  },
  "error" : 110105088,
  "message" : "The subscription token for address 3N4ptMNQiJuKt3BauPjzAhfDww8ruJLGAbe expired"
}

TokenNetworkUnexpected

Code: 110106116

Sample
{
  "template" : "The required network is {{required}}, but given {{given}}",
  "params" : {
    "required" : 1,
    "given" : 1
  },
  "error" : 110106116,
  "message" : "The required network is 1, but given 1"
}

JwtPayloadBroken

Code: 110127617

Sample
{
  "template" : "JWT payload has not expected fields",
  "error" : 110127617,
  "message" : "JWT payload has not expected fields"
}

Feature errors

AccountFeatureUnsupported

Code: 2097923

Sample
{
  "template" : "An account's feature isn't yet supported, see the activation status of '{{featureName}}'",
  "params" : {
    "featureName" : "The most stronger feature"
  },
  "error" : 2097923,
  "message" : "An account's feature isn't yet supported, see the activation status of 'The most stronger feature'"
}

OrderVersionUnsupported

Code: 2099459

Sample
{
  "template" : "The order of version {{version}} isn't yet supported, see the activation status of '{{featureName}}'",
  "params" : {
    "version" : 1,
    "featureName" : "The most stronger feature"
  },
  "error" : 2099459,
  "message" : "The order of version 1 isn't yet supported, see the activation status of 'The most stronger feature'"
}

AssetFeatureUnsupported

Code: 2099971

Sample
{
  "template" : "An asset's feature isn't yet supported for '{{assetId}}', see the activation status of '{{featureName}}'",
  "params" : {
    "assetId" : "Emn8cyGDFgnLCKLTXqVWhKJARhtR2muBUuZaSmqNzDfn",
    "featureName" : "The most stronger feature"
  },
  "error" : 2099971,
  "message" : "An asset's feature isn't yet supported for 'Emn8cyGDFgnLCKLTXqVWhKJARhtR2muBUuZaSmqNzDfn', see the activation status of 'The most stronger feature'"
}
Clone this wiki locally