Skip to content

List of all errors (future release)

Vyatcheslav Suharnikov edited this page May 6, 2020 · 3 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

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

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 1048580 request common unexpected CancelRequestIsIncomplete
11 1048590 request common stopping RequestTimeout
12 1051904 request signature common RequestInvalidSignature
13 2097923 feature account unsupported AccountFeatureUnsupported
14 2099459 feature order unsupported OrderVersionUnsupported
15 2099971 feature asset unsupported AssetFeatureUnsupported
16 3145733 account common blacklisted AddressIsBlacklisted
17 3147270 account balance notEnough BalanceNotEnough
18 3147520 account script common AccountScriptReturnedError
19 3147521 account script broken AccountScriptException
20 3147522 account script denied AccountScriptDeniedOrder
21 3147524 account script unexpected AccountScriptUnexpectResult
22 3148035 account order unsupported AccountNotSupportOrderVersion
23 3148039 account order limitReached ActiveOrdersLimitReached
24 3148040 account order duplicate OrderDuplicate
25 3148801 account pubKey broken UserPublicKeyIsNotValid
26 5245184 exchangeTx order common CanNotCreateExchangeTransaction
27 8388609 orderBook common broken OrderBookBroken
28 8388612 orderBook common unexpected OrderBookUnexpectedState
29 8388624 orderBook common disabled OrderBookStopped
30 9437184 order common common OrderCommonValidationFailed
31 9437191 order common limitReached OrderFull
32 9437193 order common notFound OrderNotFound
33 9437194 order common canceled OrderCanceled
34 9437195 order common immutable OrderFinalized
35 9439746 order version denied OrderVersionDenied
36 9439747 order version unsupported UnsupportedOrderVersion
37 9440260 order pubKey unexpected UnexpectedSender
38 9440512 order signature common OrderInvalidSignature
39 9440770 order assetPair denied AssetPairIsDenied
40 9440771 order assetPair unsupported OrderAssetPairReversed
41 9440776 order assetPair duplicate AssetPairSameAssets
42 9441026 order amount denied OrderInvalidAmount
43 9441282 order price denied OrderInvalidPrice
44 9441284 order price unexpected PriceLastDecimalsMustBeZero
45 9441286 order price notEnough OrderInvalidPriceLevel
46 9441295 order price outOfBound DeviantOrderPrice
47 9441540 order fee unexpected UnexpectedFeeAsset
48 9441542 order fee notEnough FeeNotEnough
49 9441551 order fee outOfBound DeviantOrderMatcherFee
50 9441798 order expiration notEnough WrongExpiration
51 11534337 asset common broken InvalidAsset
52 11534341 asset common blacklisted AssetBlacklisted
53 11534345 asset common notFound AssetNotFound
54 11536128 asset script common AssetScriptReturnedError
55 11536129 asset script broken AssetScriptException
56 11536130 asset script denied AssetScriptDeniedOrder
57 11536132 asset script unexpected AssetScriptUnexpectResult
58 11538181 asset amount blacklisted AmountAssetBlacklisted
59 11538437 asset price blacklisted PriceAssetBlacklisted
60 11538693 asset fee blacklisted FeeAssetBlacklisted
61 19922960 marketOrder common disabled MarketOrderCancel
62 19927055 marketOrder price outOfBound InvalidMarketOrderPrice
63 20971529 rate common notFound RateNotFound
64 20971531 rate common immutable WavesImmutableRate
65 20971535 rate common outOfBound NonPositiveAssetRate
66 105906177 connectivity common broken WavesNodeConnectionBroken
67 106954752 auth common common ApiKeyIsNotValid
68 106954769 auth common notProvided ApiKeyIsNotProvided
69 106957828 auth pubKey unexpected AddressAndPublicKeyAreIncompatible
70 106960131 auth tpe unsupported SubscriptionAuthTypeUnsupported
71 106981137 auth params notProvided AuthIsRequired
72 109077767 webSocket connectivity limitReached WsConnectionMaxLifetimeExceeded
73 109077772 webSocket connectivity timedOut WsConnectionPongTimeout
74 110100480 token common common JwtCommonError
75 110100481 token common broken JwtBroken
76 110103809 token signature broken InvalidJwtSignature
77 110105088 token expiration common SubscriptionTokenExpired
78 110106116 token network unexpected TokenNetworkUnexpected
79 110127617 token payload broken JwtPayloadBroken

Detailed errors

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",
  "error" : 13,
  "message" : "System is starting"
}

MatcherIsStopping

Code: 14

Sample
{
  "template" : "System is shutting down",
  "error" : 14,
  "message" : "System is shutting down"
}

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}}",
  "error" : 3076,
  "message" : "The required matcher public key for this DEX is 4jSaBhDPm3, but given 4jSaBhDPm3",
  "params" : {
    "required" : "4jSaBhDPm3",
    "given" : "4jSaBhDPm3"
  }
}

CanNotPersistEvent

Code: 25601

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

ExchangeTx errors

CanNotCreateExchangeTransaction

Code: 5245184

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

Rate errors

RateNotFound

Code: 20971529

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

WavesImmutableRate

Code: 20971531

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

NonPositiveAssetRate

Code: 20971535

Sample
{
  "template" : "Asset rate should be positive",
  "error" : 20971535,
  "message" : "Asset rate should be positive"
}

Request errors

RequestArgumentInvalid

Code: 1048576

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

InvalidJson

Code: 1048577

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

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"
}

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",
  "error" : 106957828,
  "message" : "Address 4h4bzCdkVY and public key 4jSaBhDPm3 are incompatible",
  "params" : {
    "address" : "4h4bzCdkVY",
    "publicKey" : "4jSaBhDPm3"
  }
}

SubscriptionAuthTypeUnsupported

Code: 106960131

Sample
{
  "template" : "The subscription authentication type '{{given}}' is not supported. Required one of: {{required}}",
  "error" : 106960131,
  "message" : "The subscription authentication type 'some string' is not supported. Required one of: some string",
  "params" : {
    "given" : "some string",
    "required" : [ "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}}",
  "error" : 9437184,
  "message" : "The order is invalid: some string",
  "params" : {
    "details" : "some string"
  }
}

OrderFull

Code: 9437191

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

OrderNotFound

Code: 9437193

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

OrderCanceled

Code: 9437194

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

OrderFinalized

Code: 9437195

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

OrderVersionDenied

Code: 9439746

Sample
{
  "template" : "The orders of version {{version}} are denied by matcher. Allowed order versions are: {{allowedOrderVersions}}",
  "error" : 9439746,
  "message" : "The orders of version 1 are denied by matcher. Allowed order versions are: 1",
  "params" : {
    "version" : 1,
    "allowedOrderVersions" : [ 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",
  "error" : 9439747,
  "message" : "The orders of version 1 is not supported. Supported order versions can be obtained via /matcher/settings GET method",
  "params" : {
    "version" : 1
  }
}

UnexpectedSender

Code: 9440260

Sample
{
  "template" : "The sender {{given}} does not match expected {{required}}",
  "error" : 9440260,
  "message" : "The sender 4h4bzCdkVY does not match expected 4h4bzCdkVY",
  "params" : {
    "given" : "4h4bzCdkVY",
    "required" : "4h4bzCdkVY"
  }
}

OrderInvalidSignature

Code: 9440512

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

AssetPairIsDenied

Code: 9440770

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

OrderAssetPairReversed

Code: 9440771

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

AssetPairSameAssets

Code: 9440776

Sample
{
  "template" : "The amount and price assets must be different, but they are: {{assetId}}",
  "error" : 9440776,
  "message" : "The amount and price assets must be different, but they are: Co11Tbj83TeZCnuXrZQwv6Bs4XG2sm1vGQiQ4FLDjJWs",
  "params" : {
    "assetId" : "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}}",
  "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",
  "params" : {
    "amount" : {
      "volume" : "7.2",
      "assetId" : "Co11Tbj83TeZCnuXrZQwv6Bs4XG2sm1vGQiQ4FLDjJWs"
    },
    "max" : "6.1",
    "min" : "6.1",
    "step" : "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}}",
  "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",
  "params" : {
    "price" : "7.2",
    "max" : "6.1",
    "min" : "6.1",
    "step" : "6.1"
  }
}

PriceLastDecimalsMustBeZero

Code: 9441284

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

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",
  "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",
  "params" : {
    "price" : "7.2",
    "tickSize" : "7.2"
  }
}

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",
  "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",
  "params" : {
    "price" : "7.2",
    "bestBidPercent" : "93.9",
    "bestAskPercent" : "106.1"
  }
}

UnexpectedFeeAsset

Code: 9441540

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

FeeNotEnough

Code: 9441542

Sample
{
  "template" : "Required {{required}} as fee for this order, but given {{given}}",
  "error" : 9441542,
  "message" : "Required 7.2 Co11Tbj83TeZCnuXrZQwv6Bs4XG2sm1vGQiQ4FLDjJWs as fee for this order, but given 7.2 Co11Tbj83TeZCnuXrZQwv6Bs4XG2sm1vGQiQ4FLDjJWs",
  "params" : {
    "required" : {
      "volume" : "7.2",
      "assetId" : "Co11Tbj83TeZCnuXrZQwv6Bs4XG2sm1vGQiQ4FLDjJWs"
    },
    "given" : {
      "volume" : "7.2",
      "assetId" : "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",
  "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",
  "params" : {
    "matcherFee" : {
      "volume" : "7.2",
      "assetId" : "Co11Tbj83TeZCnuXrZQwv6Bs4XG2sm1vGQiQ4FLDjJWs"
    },
    "bestAskFeePercent" : "93.9"
  }
}

WrongExpiration

Code: 9441798

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

Token errors

JwtCommonError

Code: 110100480

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

JwtBroken

Code: 110100481

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

InvalidJwtSignature

Code: 110103809

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

SubscriptionTokenExpired

Code: 110105088

Sample
{
  "template" : "The subscription token expired",
  "error" : 110105088,
  "message" : "The subscription token expired"
}

TokenNetworkUnexpected

Code: 110106116

Sample
{
  "template" : "The required network is {{required}}, but given {{given}}",
  "error" : 110106116,
  "message" : "The required network is 1, but given 1",
  "params" : {
    "required" : 1,
    "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}}'",
  "error" : 2097923,
  "message" : "An account's feature isn't yet supported, see the activation status of 'The most stronger feature'",
  "params" : {
    "featureName" : "The most stronger feature"
  }
}

OrderVersionUnsupported

Code: 2099459

Sample
{
  "template" : "The order of version {{version}} isn't yet supported, see the activation status of '{{featureName}}'",
  "error" : 2099459,
  "message" : "The order of version 1 isn't yet supported, see the activation status of 'The most stronger feature'",
  "params" : {
    "version" : 1,
    "featureName" : "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}}'",
  "error" : 2099971,
  "message" : "An asset's feature isn't yet supported for 'Emn8cyGDFgnLCKLTXqVWhKJARhtR2muBUuZaSmqNzDfn', see the activation status of 'The most stronger feature'",
  "params" : {
    "assetId" : "Emn8cyGDFgnLCKLTXqVWhKJARhtR2muBUuZaSmqNzDfn",
    "featureName" : "The most stronger feature"
  }
}

Account errors

AddressIsBlacklisted

Code: 3145733

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

BalanceNotEnough

Code: 3147270

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

AccountScriptReturnedError

Code: 3147520

Sample
{
  "template" : "The account's script of {{address}} returned the error: {{scriptError}}",
  "error" : 3147520,
  "message" : "The account's script of 4h4bzCdkVY returned the error: some string",
  "params" : {
    "address" : "4h4bzCdkVY",
    "scriptError" : "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}}",
  "error" : 3147521,
  "message" : "The account's script of 4h4bzCdkVY is broken, please contact with the owner. The returned error is some string, the text is: some string",
  "params" : {
    "address" : "4h4bzCdkVY",
    "errorName" : "some string",
    "errorText" : "some string"
  }
}

AccountScriptDeniedOrder

Code: 3147522

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

AccountScriptUnexpectResult

Code: 3147524

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

AccountNotSupportOrderVersion

Code: 3148035

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

ActiveOrdersLimitReached

Code: 3148039

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

OrderDuplicate

Code: 3148040

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

UserPublicKeyIsNotValid

Code: 3148801

Sample
{
  "template" : "Provided user public key is not correct",
  "error" : 3148801,
  "message" : "Provided user public key is not correct"
}

Asset errors

InvalidAsset

Code: 11534337

Sample
{
  "template" : "The asset '{{assetId}}' is wrong. It should be 'WAVES' or a Base58 string",
  "error" : 11534337,
  "message" : "The asset 'some string' is wrong. It should be 'WAVES' or a Base58 string",
  "params" : {
    "assetId" : "some string"
  }
}

AssetBlacklisted

Code: 11534341

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

AssetNotFound

Code: 11534345

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

AssetScriptReturnedError

Code: 11536128

Sample
{
  "template" : "The asset's script of {{assetId}} returned the error: {{scriptError}}",
  "error" : 11536128,
  "message" : "The asset's script of Emn8cyGDFgnLCKLTXqVWhKJARhtR2muBUuZaSmqNzDfn returned the error: some string",
  "params" : {
    "assetId" : "Emn8cyGDFgnLCKLTXqVWhKJARhtR2muBUuZaSmqNzDfn",
    "scriptError" : "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}}",
  "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",
  "params" : {
    "assetId" : "Emn8cyGDFgnLCKLTXqVWhKJARhtR2muBUuZaSmqNzDfn",
    "errorName" : "some string",
    "errorText" : "some string"
  }
}

AssetScriptDeniedOrder

Code: 11536130

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

AssetScriptUnexpectResult

Code: 11536132

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

AmountAssetBlacklisted

Code: 11538181

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

PriceAssetBlacklisted

Code: 11538437

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

FeeAssetBlacklisted

Code: 11538693

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

WebSocket errors

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"
}

OrderBook errors

OrderBookBroken

Code: 8388609

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

OrderBookUnexpectedState

Code: 8388612

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

OrderBookStopped

Code: 8388624

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

MarketOrder errors

MarketOrderCancel

Code: 19922960

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

InvalidMarketOrderPrice

Code: 19927055

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