github.com/nats-io/nats-server/v2@v2.11.0-preview.2/server/errors.json (about)

     1  [
     2    {
     3      "constant": "JSClusterPeerNotMemberErr",
     4      "code": 400,
     5      "error_code": 10040,
     6      "description": "peer not a member",
     7      "comment": "",
     8      "help": "",
     9      "url": "",
    10      "deprecates": ""
    11    },
    12    {
    13      "constant": "JSConsumerEphemeralWithDurableInSubjectErr",
    14      "code": 400,
    15      "error_code": 10019,
    16      "description": "consumer expected to be ephemeral but detected a durable name set in subject",
    17      "comment": "",
    18      "help": "",
    19      "url": "",
    20      "deprecates": ""
    21    },
    22    {
    23      "constant": "JSStreamExternalDelPrefixOverlapsErrF",
    24      "code": 400,
    25      "error_code": 10022,
    26      "description": "stream external delivery prefix {prefix} overlaps with stream subject {subject}",
    27      "comment": "",
    28      "help": "",
    29      "url": "",
    30      "deprecates": ""
    31    },
    32    {
    33      "constant": "JSAccountResourcesExceededErr",
    34      "code": 400,
    35      "error_code": 10002,
    36      "description": "resource limits exceeded for account",
    37      "comment": "",
    38      "help": "",
    39      "url": "",
    40      "deprecates": ""
    41    },
    42    {
    43      "constant": "JSClusterNotAvailErr",
    44      "code": 503,
    45      "error_code": 10008,
    46      "description": "JetStream system temporarily unavailable",
    47      "comment": "",
    48      "help": "",
    49      "url": "",
    50      "deprecates": ""
    51    },
    52    {
    53      "constant": "JSStreamSubjectOverlapErr",
    54      "code": 400,
    55      "error_code": 10065,
    56      "description": "subjects overlap with an existing stream",
    57      "comment": "",
    58      "help": "",
    59      "url": "",
    60      "deprecates": ""
    61    },
    62    {
    63      "constant": "JSStreamWrongLastSequenceErrF",
    64      "code": 400,
    65      "error_code": 10071,
    66      "description": "wrong last sequence: {seq}",
    67      "comment": "",
    68      "help": "",
    69      "url": "",
    70      "deprecates": ""
    71    },
    72    {
    73      "constant": "JSTemplateNameNotMatchSubjectErr",
    74      "code": 400,
    75      "error_code": 10073,
    76      "description": "template name in subject does not match request",
    77      "comment": "",
    78      "help": "",
    79      "url": "",
    80      "deprecates": ""
    81    },
    82    {
    83      "constant": "JSClusterNoPeersErrF",
    84      "code": 400,
    85      "error_code": 10005,
    86      "description": "{err}",
    87      "comment": "Error causing no peers to be available",
    88      "help": "",
    89      "url": "",
    90      "deprecates": ""
    91    },
    92    {
    93      "constant": "JSConsumerEphemeralWithDurableNameErr",
    94      "code": 400,
    95      "error_code": 10020,
    96      "description": "consumer expected to be ephemeral but a durable name was set in request",
    97      "comment": "",
    98      "help": "",
    99      "url": "",
   100      "deprecates": ""
   101    },
   102    {
   103      "constant": "JSInsufficientResourcesErr",
   104      "code": 503,
   105      "error_code": 10023,
   106      "description": "insufficient resources",
   107      "comment": "",
   108      "help": "",
   109      "url": "",
   110      "deprecates": "ErrJetStreamResourcesExceeded"
   111    },
   112    {
   113      "constant": "JSMirrorMaxMessageSizeTooBigErr",
   114      "code": 400,
   115      "error_code": 10030,
   116      "description": "stream mirror must have max message size \u003e= source",
   117      "comment": "",
   118      "help": "",
   119      "url": "",
   120      "deprecates": ""
   121    },
   122    {
   123      "constant": "JSStreamTemplateDeleteErrF",
   124      "code": 500,
   125      "error_code": 10067,
   126      "description": "{err}",
   127      "comment": "Generic stream template deletion failed error string",
   128      "help": "",
   129      "url": "",
   130      "deprecates": ""
   131    },
   132    {
   133      "constant": "JSBadRequestErr",
   134      "code": 400,
   135      "error_code": 10003,
   136      "description": "bad request",
   137      "comment": "",
   138      "help": "",
   139      "url": "",
   140      "deprecates": ""
   141    },
   142    {
   143      "constant": "JSClusterUnSupportFeatureErr",
   144      "code": 503,
   145      "error_code": 10036,
   146      "description": "not currently supported in clustered mode",
   147      "comment": "",
   148      "help": "",
   149      "url": "",
   150      "deprecates": ""
   151    },
   152    {
   153      "constant": "JSConsumerNotFoundErr",
   154      "code": 404,
   155      "error_code": 10014,
   156      "description": "consumer not found",
   157      "comment": "",
   158      "help": "",
   159      "url": "",
   160      "deprecates": ""
   161    },
   162    {
   163      "constant": "JSSourceMaxMessageSizeTooBigErr",
   164      "code": 400,
   165      "error_code": 10046,
   166      "description": "stream source must have max message size \u003e= target",
   167      "comment": "",
   168      "help": "",
   169      "url": "",
   170      "deprecates": ""
   171    },
   172    {
   173      "constant": "JSStreamAssignmentErrF",
   174      "code": 500,
   175      "error_code": 10048,
   176      "description": "{err}",
   177      "comment": "Generic stream assignment error string",
   178      "help": "",
   179      "url": "",
   180      "deprecates": ""
   181    },
   182    {
   183      "constant": "JSStreamMessageExceedsMaximumErr",
   184      "code": 400,
   185      "error_code": 10054,
   186      "description": "message size exceeds maximum allowed",
   187      "comment": "",
   188      "help": "",
   189      "url": "",
   190      "deprecates": ""
   191    },
   192    {
   193      "constant": "JSStreamTemplateCreateErrF",
   194      "code": 500,
   195      "error_code": 10066,
   196      "description": "{err}",
   197      "comment": "Generic template creation failed string",
   198      "help": "",
   199      "url": "",
   200      "deprecates": ""
   201    },
   202    {
   203      "constant": "JSInvalidJSONErr",
   204      "code": 400,
   205      "error_code": 10025,
   206      "description": "invalid JSON",
   207      "comment": "",
   208      "help": "",
   209      "url": "",
   210      "deprecates": ""
   211    },
   212    {
   213      "constant": "JSStreamInvalidExternalDeliverySubjErrF",
   214      "code": 400,
   215      "error_code": 10024,
   216      "description": "stream external delivery prefix {prefix} must not contain wildcards",
   217      "comment": "",
   218      "help": "",
   219      "url": "",
   220      "deprecates": ""
   221    },
   222    {
   223      "constant": "JSStreamRestoreErrF",
   224      "code": 500,
   225      "error_code": 10062,
   226      "description": "restore failed: {err}",
   227      "comment": "",
   228      "help": "",
   229      "url": "",
   230      "deprecates": ""
   231    },
   232    {
   233      "constant": "JSClusterIncompleteErr",
   234      "code": 503,
   235      "error_code": 10004,
   236      "description": "incomplete results",
   237      "comment": "",
   238      "help": "",
   239      "url": "",
   240      "deprecates": ""
   241    },
   242    {
   243      "constant": "JSNoAccountErr",
   244      "code": 503,
   245      "error_code": 10035,
   246      "description": "account not found",
   247      "comment": "",
   248      "help": "",
   249      "url": "",
   250      "deprecates": ""
   251    },
   252    {
   253      "constant": "JSRaftGeneralErrF",
   254      "code": 500,
   255      "error_code": 10041,
   256      "description": "{err}",
   257      "comment": "General RAFT error string",
   258      "help": "",
   259      "url": "",
   260      "deprecates": ""
   261    },
   262    {
   263      "constant": "JSRestoreSubscribeFailedErrF",
   264      "code": 500,
   265      "error_code": 10042,
   266      "description": "JetStream unable to subscribe to restore snapshot {subject}: {err}",
   267      "comment": "",
   268      "help": "",
   269      "url": "",
   270      "deprecates": ""
   271    },
   272    {
   273      "constant": "JSStreamDeleteErrF",
   274      "code": 500,
   275      "error_code": 10050,
   276      "description": "{err}",
   277      "comment": "General stream deletion error string",
   278      "help": "",
   279      "url": "",
   280      "deprecates": ""
   281    },
   282    {
   283      "constant": "JSStreamExternalApiOverlapErrF",
   284      "code": 400,
   285      "error_code": 10021,
   286      "description": "stream external api prefix {prefix} must not overlap with {subject}",
   287      "comment": "",
   288      "help": "",
   289      "url": "",
   290      "deprecates": ""
   291    },
   292    {
   293      "constant": "JSMirrorWithSubjectsErr",
   294      "code": 400,
   295      "error_code": 10034,
   296      "description": "stream mirrors can not contain subjects",
   297      "comment": "",
   298      "help": "",
   299      "url": "",
   300      "deprecates": ""
   301    },
   302    {
   303      "constant": "JSMirrorWithFirstSeqErr",
   304      "code": 400,
   305      "error_code": 10143,
   306      "description": "stream mirrors can not have first sequence configured",
   307      "comment": "",
   308      "help": "",
   309      "url": "",
   310      "deprecates": ""
   311    },
   312    {
   313      "constant": "JSNotEnabledErr",
   314      "code": 503,
   315      "error_code": 10076,
   316      "description": "JetStream not enabled",
   317      "comment": "",
   318      "help": "This error indicates that JetStream is not enabled at a global level",
   319      "url": "",
   320      "deprecates": "ErrJetStreamNotEnabled"
   321    },
   322    {
   323      "constant": "JSNotEnabledForAccountErr",
   324      "code": 503,
   325      "error_code": 10039,
   326      "description": "JetStream not enabled for account",
   327      "comment": "",
   328      "help": "This error indicates that JetStream is not enabled for an account account level",
   329      "url": "",
   330      "deprecates": ""
   331    },
   332    {
   333      "constant": "JSSequenceNotFoundErrF",
   334      "code": 400,
   335      "error_code": 10043,
   336      "description": "sequence {seq} not found",
   337      "comment": "",
   338      "help": "",
   339      "url": "",
   340      "deprecates": ""
   341    },
   342    {
   343      "constant": "JSStreamMirrorNotUpdatableErr",
   344      "code": 400,
   345      "error_code": 10055,
   346      "description": "stream mirror configuration can not be updated",
   347      "comment": "",
   348      "help": "",
   349      "url": "",
   350      "deprecates": ""
   351    },
   352    {
   353      "constant": "JSStreamSequenceNotMatchErr",
   354      "code": 503,
   355      "error_code": 10063,
   356      "description": "expected stream sequence does not match",
   357      "comment": "",
   358      "help": "",
   359      "url": "",
   360      "deprecates": ""
   361    },
   362    {
   363      "constant": "JSStreamWrongLastMsgIDErrF",
   364      "code": 400,
   365      "error_code": 10070,
   366      "description": "wrong last msg ID: {id}",
   367      "comment": "",
   368      "help": "",
   369      "url": "",
   370      "deprecates": ""
   371    },
   372    {
   373      "constant": "JSTempStorageFailedErr",
   374      "code": 500,
   375      "error_code": 10072,
   376      "description": "JetStream unable to open temp storage for restore",
   377      "comment": "",
   378      "help": "",
   379      "url": "",
   380      "deprecates": ""
   381    },
   382    {
   383      "constant": "JSStorageResourcesExceededErr",
   384      "code": 500,
   385      "error_code": 10047,
   386      "description": "insufficient storage resources available",
   387      "comment": "",
   388      "help": "",
   389      "url": "",
   390      "deprecates": "ErrStorageResourcesExceeded"
   391    },
   392    {
   393      "constant": "JSStreamMismatchErr",
   394      "code": 400,
   395      "error_code": 10056,
   396      "description": "stream name in subject does not match request",
   397      "comment": "",
   398      "help": "",
   399      "url": "",
   400      "deprecates": ""
   401    },
   402    {
   403      "constant": "JSStreamNotMatchErr",
   404      "code": 400,
   405      "error_code": 10060,
   406      "description": "expected stream does not match",
   407      "comment": "",
   408      "help": "",
   409      "url": "",
   410      "deprecates": ""
   411    },
   412    {
   413      "constant": "JSMirrorConsumerSetupFailedErrF",
   414      "code": 500,
   415      "error_code": 10029,
   416      "description": "{err}",
   417      "comment": "generic mirror consumer setup failure string",
   418      "help": "",
   419      "url": "",
   420      "deprecates": ""
   421    },
   422    {
   423      "constant": "JSNotEmptyRequestErr",
   424      "code": 400,
   425      "error_code": 10038,
   426      "description": "expected an empty request payload",
   427      "comment": "",
   428      "help": "",
   429      "url": "",
   430      "deprecates": ""
   431    },
   432    {
   433      "constant": "JSStreamNameExistErr",
   434      "code": 400,
   435      "error_code": 10058,
   436      "description": "stream name already in use with a different configuration",
   437      "comment": "",
   438      "help": "",
   439      "url": "",
   440      "deprecates": "ErrJetStreamStreamAlreadyUsed"
   441    },
   442    {
   443      "constant": "JSClusterTagsErr",
   444      "code": 400,
   445      "error_code": 10011,
   446      "description": "tags placement not supported for operation",
   447      "comment": "",
   448      "help": "",
   449      "url": "",
   450      "deprecates": ""
   451    },
   452    {
   453      "constant": "JSMaximumConsumersLimitErr",
   454      "code": 400,
   455      "error_code": 10026,
   456      "description": "maximum consumers limit reached",
   457      "comment": "",
   458      "help": "",
   459      "url": "",
   460      "deprecates": ""
   461    },
   462    {
   463      "constant": "JSSourceConsumerSetupFailedErrF",
   464      "code": 500,
   465      "error_code": 10045,
   466      "description": "{err}",
   467      "comment": "General source consumer setup failure string",
   468      "help": "",
   469      "url": "",
   470      "deprecates": ""
   471    },
   472    {
   473      "constant": "JSConsumerCreateErrF",
   474      "code": 500,
   475      "error_code": 10012,
   476      "description": "{err}",
   477      "comment": "General consumer creation failure string",
   478      "help": "",
   479      "url": "",
   480      "deprecates": ""
   481    },
   482    {
   483      "constant": "JSConsumerDurableNameNotInSubjectErr",
   484      "code": 400,
   485      "error_code": 10016,
   486      "description": "consumer expected to be durable but no durable name set in subject",
   487      "comment": "",
   488      "help": "",
   489      "url": "",
   490      "deprecates": ""
   491    },
   492    {
   493      "constant": "JSStreamLimitsErrF",
   494      "code": 500,
   495      "error_code": 10053,
   496      "description": "{err}",
   497      "comment": "General stream limits exceeded error string",
   498      "help": "",
   499      "url": "",
   500      "deprecates": ""
   501    },
   502    {
   503      "constant": "JSStreamReplicasNotUpdatableErr",
   504      "code": 400,
   505      "error_code": 10061,
   506      "description": "Replicas configuration can not be updated",
   507      "comment": "",
   508      "help": "",
   509      "url": "",
   510      "deprecates": ""
   511    },
   512    {
   513      "constant": "JSStreamTemplateNotFoundErr",
   514      "code": 404,
   515      "error_code": 10068,
   516      "description": "template not found",
   517      "comment": "",
   518      "help": "",
   519      "url": "",
   520      "deprecates": ""
   521    },
   522    {
   523      "constant": "JSClusterNotAssignedErr",
   524      "code": 500,
   525      "error_code": 10007,
   526      "description": "JetStream cluster not assigned to this server",
   527      "comment": "",
   528      "help": "",
   529      "url": "",
   530      "deprecates": "ErrJetStreamNotAssigned"
   531    },
   532    {
   533      "constant": "JSClusterNotLeaderErr",
   534      "code": 500,
   535      "error_code": 10009,
   536      "description": "JetStream cluster can not handle request",
   537      "comment": "",
   538      "help": "",
   539      "url": "",
   540      "deprecates": "ErrJetStreamNotLeader"
   541    },
   542    {
   543      "constant": "JSConsumerNameExistErr",
   544      "code": 400,
   545      "error_code": 10013,
   546      "description": "consumer name already in use",
   547      "comment": "",
   548      "help": "",
   549      "url": "",
   550      "deprecates": "ErrJetStreamConsumerAlreadyUsed"
   551    },
   552    {
   553      "constant": "JSMirrorWithSourcesErr",
   554      "code": 400,
   555      "error_code": 10031,
   556      "description": "stream mirrors can not also contain other sources",
   557      "comment": "",
   558      "help": "",
   559      "url": "",
   560      "deprecates": ""
   561    },
   562    {
   563      "constant": "JSStreamNotFoundErr",
   564      "code": 404,
   565      "error_code": 10059,
   566      "description": "stream not found",
   567      "comment": "",
   568      "help": "",
   569      "url": "",
   570      "deprecates": "ErrJetStreamStreamNotFound"
   571    },
   572    {
   573      "constant": "JSClusterRequiredErr",
   574      "code": 503,
   575      "error_code": 10010,
   576      "description": "JetStream clustering support required",
   577      "comment": "",
   578      "help": "",
   579      "url": "",
   580      "deprecates": ""
   581    },
   582    {
   583      "constant": "JSConsumerDurableNameNotSetErr",
   584      "code": 400,
   585      "error_code": 10018,
   586      "description": "consumer expected to be durable but a durable name was not set",
   587      "comment": "",
   588      "help": "",
   589      "url": "",
   590      "deprecates": ""
   591    },
   592    {
   593      "constant": "JSMaximumStreamsLimitErr",
   594      "code": 400,
   595      "error_code": 10027,
   596      "description": "maximum number of streams reached",
   597      "comment": "",
   598      "help": "",
   599      "url": "",
   600      "deprecates": ""
   601    },
   602    {
   603      "constant": "JSMirrorWithStartSeqAndTimeErr",
   604      "code": 400,
   605      "error_code": 10032,
   606      "description": "stream mirrors can not have both start seq and start time configured",
   607      "comment": "",
   608      "help": "",
   609      "url": "",
   610      "deprecates": ""
   611    },
   612    {
   613      "constant": "JSStreamSnapshotErrF",
   614      "code": 500,
   615      "error_code": 10064,
   616      "description": "snapshot failed: {err}",
   617      "comment": "",
   618      "help": "",
   619      "url": "",
   620      "deprecates": ""
   621    },
   622    {
   623      "constant": "JSStreamUpdateErrF",
   624      "code": 500,
   625      "error_code": 10069,
   626      "description": "{err}",
   627      "comment": "Generic stream update error string",
   628      "help": "",
   629      "url": "",
   630      "deprecates": ""
   631    },
   632    {
   633      "constant": "JSClusterNotActiveErr",
   634      "code": 500,
   635      "error_code": 10006,
   636      "description": "JetStream not in clustered mode",
   637      "comment": "",
   638      "help": "",
   639      "url": "",
   640      "deprecates": "ErrJetStreamNotClustered"
   641    },
   642    {
   643      "constant": "JSConsumerDurableNameNotMatchSubjectErr",
   644      "code": 400,
   645      "error_code": 10017,
   646      "description": "consumer name in subject does not match durable name in request",
   647      "comment": "",
   648      "help": "",
   649      "url": "",
   650      "deprecates": ""
   651    },
   652    {
   653      "constant": "JSMemoryResourcesExceededErr",
   654      "code": 500,
   655      "error_code": 10028,
   656      "description": "insufficient memory resources available",
   657      "comment": "",
   658      "help": "",
   659      "url": "",
   660      "deprecates": "ErrMemoryResourcesExceeded"
   661    },
   662    {
   663      "constant": "JSMirrorWithSubjectFiltersErr",
   664      "code": 400,
   665      "error_code": 10033,
   666      "description": "stream mirrors can not contain filtered subjects",
   667      "comment": "",
   668      "help": "",
   669      "url": "",
   670      "deprecates": ""
   671    },
   672    {
   673      "constant": "JSStreamCreateErrF",
   674      "code": 500,
   675      "error_code": 10049,
   676      "description": "{err}",
   677      "comment": "Generic stream creation error string",
   678      "help": "",
   679      "url": "",
   680      "deprecates": ""
   681    },
   682    {
   683      "constant": "JSClusterServerNotMemberErr",
   684      "code": 400,
   685      "error_code": 10044,
   686      "description": "server is not a member of the cluster",
   687      "comment": "",
   688      "help": "",
   689      "url": "",
   690      "deprecates": ""
   691    },
   692    {
   693      "constant": "JSNoMessageFoundErr",
   694      "code": 404,
   695      "error_code": 10037,
   696      "description": "no message found",
   697      "comment": "",
   698      "help": "",
   699      "url": "",
   700      "deprecates": ""
   701    },
   702    {
   703      "constant": "JSSnapshotDeliverSubjectInvalidErr",
   704      "code": 400,
   705      "error_code": 10015,
   706      "description": "deliver subject not valid",
   707      "comment": "",
   708      "help": "",
   709      "url": "",
   710      "deprecates": ""
   711    },
   712    {
   713      "constant": "JSStreamGeneralErrorF",
   714      "code": 500,
   715      "error_code": 10051,
   716      "description": "{err}",
   717      "comment": "General stream failure string",
   718      "help": "",
   719      "url": "",
   720      "deprecates": ""
   721    },
   722    {
   723      "constant": "JSStreamInvalidConfigF",
   724      "code": 500,
   725      "error_code": 10052,
   726      "description": "{err}",
   727      "comment": "Stream configuration validation error string",
   728      "help": "",
   729      "url": "",
   730      "deprecates": ""
   731    },
   732    {
   733      "constant": "JSStreamReplicasNotSupportedErr",
   734      "code": 500,
   735      "error_code": 10074,
   736      "description": "replicas \u003e 1 not supported in non-clustered mode",
   737      "comment": "",
   738      "help": "",
   739      "url": "",
   740      "deprecates": "ErrReplicasNotSupported"
   741    },
   742    {
   743      "constant": "JSStreamMsgDeleteFailedF",
   744      "code": 500,
   745      "error_code": 10057,
   746      "description": "{err}",
   747      "comment": "Generic message deletion failure error string",
   748      "help": "",
   749      "url": "",
   750      "deprecates": ""
   751    },
   752    {
   753      "constant": "JSPeerRemapErr",
   754      "code": 503,
   755      "error_code": 10075,
   756      "description": "peer remap failed",
   757      "comment": "",
   758      "help": "",
   759      "url": "",
   760      "deprecates": ""
   761    },
   762    {
   763      "constant": "JSStreamStoreFailedF",
   764      "code": 503,
   765      "error_code": 10077,
   766      "description": "{err}",
   767      "comment": "Generic error when storing a message failed",
   768      "help": "",
   769      "url": "",
   770      "deprecates": ""
   771    },
   772    {
   773      "constant": "JSConsumerConfigRequiredErr",
   774      "code": 400,
   775      "error_code": 10078,
   776      "description": "consumer config required",
   777      "comment": "",
   778      "help": "",
   779      "url": "",
   780      "deprecates": ""
   781    },
   782    {
   783      "constant": "JSConsumerDeliverToWildcardsErr",
   784      "code": 400,
   785      "error_code": 10079,
   786      "description": "consumer deliver subject has wildcards",
   787      "comment": "",
   788      "help": "",
   789      "url": "",
   790      "deprecates": ""
   791    },
   792    {
   793      "constant": "JSConsumerPushMaxWaitingErr",
   794      "code": 400,
   795      "error_code": 10080,
   796      "description": "consumer in push mode can not set max waiting",
   797      "comment": "",
   798      "help": "",
   799      "url": "",
   800      "deprecates": ""
   801    },
   802    {
   803      "constant": "JSConsumerDeliverCycleErr",
   804      "code": 400,
   805      "error_code": 10081,
   806      "description": "consumer deliver subject forms a cycle",
   807      "comment": "",
   808      "help": "",
   809      "url": "",
   810      "deprecates": ""
   811    },
   812    {
   813      "constant": "JSConsumerMaxPendingAckPolicyRequiredErr",
   814      "code": 400,
   815      "error_code": 10082,
   816      "description": "consumer requires ack policy for max ack pending",
   817      "comment": "",
   818      "help": "",
   819      "url": "",
   820      "deprecates": ""
   821    },
   822    {
   823      "constant": "JSConsumerSmallHeartbeatErr",
   824      "code": 400,
   825      "error_code": 10083,
   826      "description": "consumer idle heartbeat needs to be \u003e= 100ms",
   827      "comment": "",
   828      "help": "",
   829      "url": "",
   830      "deprecates": ""
   831    },
   832    {
   833      "constant": "JSConsumerPullRequiresAckErr",
   834      "code": 400,
   835      "error_code": 10084,
   836      "description": "consumer in pull mode requires ack policy",
   837      "comment": "",
   838      "help": "",
   839      "url": "",
   840      "deprecates": ""
   841    },
   842    {
   843      "constant": "JSConsumerPullNotDurableErr",
   844      "code": 400,
   845      "error_code": 10085,
   846      "description": "consumer in pull mode requires a durable name",
   847      "comment": "",
   848      "help": "",
   849      "url": "",
   850      "deprecates": ""
   851    },
   852    {
   853      "constant": "JSConsumerPullWithRateLimitErr",
   854      "code": 400,
   855      "error_code": 10086,
   856      "description": "consumer in pull mode can not have rate limit set",
   857      "comment": "",
   858      "help": "",
   859      "url": "",
   860      "deprecates": ""
   861    },
   862    {
   863      "constant": "JSConsumerMaxWaitingNegativeErr",
   864      "code": 400,
   865      "error_code": 10087,
   866      "description": "consumer max waiting needs to be positive",
   867      "comment": "",
   868      "help": "",
   869      "url": "",
   870      "deprecates": ""
   871    },
   872    {
   873      "constant": "JSConsumerHBRequiresPushErr",
   874      "code": 400,
   875      "error_code": 10088,
   876      "description": "consumer idle heartbeat requires a push based consumer",
   877      "comment": "",
   878      "help": "",
   879      "url": "",
   880      "deprecates": ""
   881    },
   882    {
   883      "constant": "JSConsumerFCRequiresPushErr",
   884      "code": 400,
   885      "error_code": 10089,
   886      "description": "consumer flow control requires a push based consumer",
   887      "comment": "",
   888      "help": "",
   889      "url": "",
   890      "deprecates": ""
   891    },
   892    {
   893      "constant": "JSConsumerDirectRequiresPushErr",
   894      "code": 400,
   895      "error_code": 10090,
   896      "description": "consumer direct requires a push based consumer",
   897      "comment": "",
   898      "help": "",
   899      "url": "",
   900      "deprecates": ""
   901    },
   902    {
   903      "constant": "JSConsumerDirectRequiresEphemeralErr",
   904      "code": 400,
   905      "error_code": 10091,
   906      "description": "consumer direct requires an ephemeral consumer",
   907      "comment": "",
   908      "help": "",
   909      "url": "",
   910      "deprecates": ""
   911    },
   912    {
   913      "constant": "JSConsumerOnMappedErr",
   914      "code": 400,
   915      "error_code": 10092,
   916      "description": "consumer direct on a mapped consumer",
   917      "comment": "",
   918      "help": "",
   919      "url": "",
   920      "deprecates": ""
   921    },
   922    {
   923      "constant": "JSConsumerFilterNotSubsetErr",
   924      "code": 400,
   925      "error_code": 10093,
   926      "description": "consumer filter subject is not a valid subset of the interest subjects",
   927      "comment": "",
   928      "help": "",
   929      "url": "",
   930      "deprecates": ""
   931    },
   932    {
   933      "constant": "JSConsumerInvalidPolicyErrF",
   934      "code": 400,
   935      "error_code": 10094,
   936      "description": "{err}",
   937      "comment": "Generic delivery policy error",
   938      "help": "Error returned for impossible deliver policies when combined with start sequences etc",
   939      "url": "",
   940      "deprecates": ""
   941    },
   942    {
   943      "constant": "JSConsumerInvalidSamplingErrF",
   944      "code": 400,
   945      "error_code": 10095,
   946      "description": "failed to parse consumer sampling configuration: {err}",
   947      "comment": "",
   948      "help": "",
   949      "url": "",
   950      "deprecates": ""
   951    },
   952    {
   953      "constant": "JSStreamInvalidErr",
   954      "code": 500,
   955      "error_code": 10096,
   956      "description": "stream not valid",
   957      "comment": "",
   958      "help": "",
   959      "url": "",
   960      "deprecates": ""
   961    },
   962    {
   963      "constant": "JSConsumerWQRequiresExplicitAckErr",
   964      "code": 400,
   965      "error_code": 10098,
   966      "description": "workqueue stream requires explicit ack",
   967      "comment": "",
   968      "help": "",
   969      "url": "",
   970      "deprecates": ""
   971    },
   972    {
   973      "constant": "JSConsumerWQMultipleUnfilteredErr",
   974      "code": 400,
   975      "error_code": 10099,
   976      "description": "multiple non-filtered consumers not allowed on workqueue stream",
   977      "comment": "",
   978      "help": "",
   979      "url": "",
   980      "deprecates": ""
   981    },
   982    {
   983      "constant": "JSConsumerWQConsumerNotUniqueErr",
   984      "code": 400,
   985      "error_code": 10100,
   986      "description": "filtered consumer not unique on workqueue stream",
   987      "comment": "",
   988      "help": "",
   989      "url": "",
   990      "deprecates": ""
   991    },
   992    {
   993      "constant": "JSConsumerWQConsumerNotDeliverAllErr",
   994      "code": 400,
   995      "error_code": 10101,
   996      "description": "consumer must be deliver all on workqueue stream",
   997      "comment": "",
   998      "help": "",
   999      "url": "",
  1000      "deprecates": ""
  1001    },
  1002    {
  1003      "constant": "JSConsumerNameTooLongErrF",
  1004      "code": 400,
  1005      "error_code": 10102,
  1006      "description": "consumer name is too long, maximum allowed is {max}",
  1007      "comment": "",
  1008      "help": "",
  1009      "url": "",
  1010      "deprecates": ""
  1011    },
  1012    {
  1013      "constant": "JSConsumerBadDurableNameErr",
  1014      "code": 400,
  1015      "error_code": 10103,
  1016      "description": "durable name can not contain '.', '*', '\u003e'",
  1017      "comment": "",
  1018      "help": "",
  1019      "url": "",
  1020      "deprecates": ""
  1021    },
  1022    {
  1023      "constant": "JSConsumerStoreFailedErrF",
  1024      "code": 500,
  1025      "error_code": 10104,
  1026      "description": "error creating store for consumer: {err}",
  1027      "comment": "",
  1028      "help": "",
  1029      "url": "",
  1030      "deprecates": ""
  1031    },
  1032    {
  1033      "constant": "JSConsumerExistingActiveErr",
  1034      "code": 400,
  1035      "error_code": 10105,
  1036      "description": "consumer already exists and is still active",
  1037      "comment": "",
  1038      "help": "",
  1039      "url": "",
  1040      "deprecates": ""
  1041    },
  1042    {
  1043      "constant": "JSConsumerReplacementWithDifferentNameErr",
  1044      "code": 400,
  1045      "error_code": 10106,
  1046      "description": "consumer replacement durable config not the same",
  1047      "comment": "",
  1048      "help": "",
  1049      "url": "",
  1050      "deprecates": ""
  1051    },
  1052    {
  1053      "constant": "JSConsumerDescriptionTooLongErrF",
  1054      "code": 400,
  1055      "error_code": 10107,
  1056      "description": "consumer description is too long, maximum allowed is {max}",
  1057      "comment": "",
  1058      "help": "",
  1059      "url": "",
  1060      "deprecates": ""
  1061    },
  1062    {
  1063      "constant": "JSStreamHeaderExceedsMaximumErr",
  1064      "code": 400,
  1065      "error_code": 10097,
  1066      "description": "header size exceeds maximum allowed of 64k",
  1067      "comment": "",
  1068      "help": "",
  1069      "url": "",
  1070      "deprecates": ""
  1071    },
  1072    {
  1073      "constant": "JSConsumerWithFlowControlNeedsHeartbeats",
  1074      "code": 400,
  1075      "error_code": 10108,
  1076      "description": "consumer with flow control also needs heartbeats",
  1077      "comment": "",
  1078      "help": "",
  1079      "url": "",
  1080      "deprecates": ""
  1081    },
  1082    {
  1083      "constant": "JSStreamSealedErr",
  1084      "code": 400,
  1085      "error_code": 10109,
  1086      "description": "invalid operation on sealed stream",
  1087      "comment": "",
  1088      "help": "",
  1089      "url": "",
  1090      "deprecates": ""
  1091    },
  1092    {
  1093      "constant": "JSStreamPurgeFailedF",
  1094      "code": 500,
  1095      "error_code": 10110,
  1096      "description": "{err}",
  1097      "comment": "Generic stream purge failure error string",
  1098      "help": "",
  1099      "url": "",
  1100      "deprecates": ""
  1101    },
  1102    {
  1103      "constant": "JSStreamRollupFailedF",
  1104      "code": 500,
  1105      "error_code": 10111,
  1106      "description": "{err}",
  1107      "comment": "Generic stream rollup failure error string",
  1108      "help": "",
  1109      "url": "",
  1110      "deprecates": ""
  1111    },
  1112    {
  1113      "constant": "JSConsumerInvalidDeliverSubject",
  1114      "code": 400,
  1115      "error_code": 10112,
  1116      "description": "invalid push consumer deliver subject",
  1117      "comment": "",
  1118      "help": "Returned when the delivery subject on a Push Consumer is not a valid NATS Subject",
  1119      "url": "",
  1120      "deprecates": ""
  1121    },
  1122    {
  1123      "constant": "JSStreamMaxBytesRequired",
  1124      "code": 400,
  1125      "error_code": 10113,
  1126      "description": "account requires a stream config to have max bytes set",
  1127      "comment": "",
  1128      "help": "",
  1129      "url": "",
  1130      "deprecates": ""
  1131    },
  1132    {
  1133      "constant": "JSConsumerMaxRequestBatchNegativeErr",
  1134      "code": 400,
  1135      "error_code": 10114,
  1136      "description": "consumer max request batch needs to be \u003e 0",
  1137      "comment": "",
  1138      "help": "",
  1139      "url": "",
  1140      "deprecates": ""
  1141    },
  1142    {
  1143      "constant": "JSConsumerMaxRequestExpiresToSmall",
  1144      "code": 400,
  1145      "error_code": 10115,
  1146      "description": "consumer max request expires needs to be \u003e= 1ms",
  1147      "comment": "",
  1148      "help": "",
  1149      "url": "",
  1150      "deprecates": ""
  1151    },
  1152    {
  1153      "constant": "JSConsumerMaxDeliverBackoffErr",
  1154      "code": 400,
  1155      "error_code": 10116,
  1156      "description": "max deliver is required to be \u003e length of backoff values",
  1157      "comment": "",
  1158      "help": "",
  1159      "url": "",
  1160      "deprecates": ""
  1161    },
  1162    {
  1163      "constant": "JSStreamInfoMaxSubjectsErr",
  1164      "code": 500,
  1165      "error_code": 10117,
  1166      "description": "subject details would exceed maximum allowed",
  1167      "comment": "",
  1168      "help": "",
  1169      "url": "",
  1170      "deprecates": ""
  1171    },
  1172    {
  1173      "constant": "JSStreamOfflineErr",
  1174      "code": 500,
  1175      "error_code": 10118,
  1176      "description": "stream is offline",
  1177      "comment": "",
  1178      "help": "",
  1179      "url": "",
  1180      "deprecates": ""
  1181    },
  1182    {
  1183      "constant": "JSConsumerOfflineErr",
  1184      "code": 500,
  1185      "error_code": 10119,
  1186      "description": "consumer is offline",
  1187      "comment": "",
  1188      "help": "",
  1189      "url": "",
  1190      "deprecates": ""
  1191    },
  1192    {
  1193      "constant": "JSNoLimitsErr",
  1194      "code": 400,
  1195      "error_code": 10120,
  1196      "description": "no JetStream default or applicable tiered limit present",
  1197      "comment": "",
  1198      "help": "",
  1199      "url": "",
  1200      "deprecates": ""
  1201    },
  1202    {
  1203      "constant": "JSConsumerMaxPendingAckExcessErrF",
  1204      "code": 400,
  1205      "error_code": 10121,
  1206      "description": "consumer max ack pending exceeds system limit of {limit}",
  1207      "comment": "",
  1208      "help": "",
  1209      "url": "",
  1210      "deprecates": ""
  1211    },
  1212    {
  1213      "constant": "JSStreamMaxStreamBytesExceeded",
  1214      "code": 400,
  1215      "error_code": 10122,
  1216      "description": "stream max bytes exceeds account limit max stream bytes",
  1217      "comment": "",
  1218      "help": "",
  1219      "url": "",
  1220      "deprecates": ""
  1221    },
  1222    {
  1223      "constant": "JSStreamMoveAndScaleErr",
  1224      "code": 400,
  1225      "error_code": 10123,
  1226      "description": "can not move and scale a stream in a single update",
  1227      "comment": "",
  1228      "help": "",
  1229      "url": "",
  1230      "deprecates": ""
  1231    },
  1232    {
  1233      "constant": "JSStreamMoveInProgressF",
  1234      "code": 400,
  1235      "error_code": 10124,
  1236      "description": "stream move already in progress: {msg}",
  1237      "comment": "",
  1238      "help": "",
  1239      "url": "",
  1240      "deprecates": ""
  1241    },
  1242    {
  1243      "constant": "JSConsumerMaxRequestBatchExceededF",
  1244      "code": 400,
  1245      "error_code": 10125,
  1246      "description": "consumer max request batch exceeds server limit of {limit}",
  1247      "comment": "",
  1248      "help": "",
  1249      "url": "",
  1250      "deprecates": ""
  1251    },
  1252    {
  1253      "constant": "JSConsumerReplicasExceedsStream",
  1254      "code": 400,
  1255      "error_code": 10126,
  1256      "description": "consumer config replica count exceeds parent stream",
  1257      "comment": "",
  1258      "help": "",
  1259      "url": "",
  1260      "deprecates": ""
  1261    },
  1262    {
  1263      "constant": "JSConsumerNameContainsPathSeparatorsErr",
  1264      "code": 400,
  1265      "error_code": 10127,
  1266      "description": "Consumer name can not contain path separators",
  1267      "comment": "",
  1268      "help": "",
  1269      "url": "",
  1270      "deprecates": ""
  1271    },
  1272    {
  1273      "constant": "JSStreamNameContainsPathSeparatorsErr",
  1274      "code": 400,
  1275      "error_code": 10128,
  1276      "description": "Stream name can not contain path separators",
  1277      "comment": "",
  1278      "help": "",
  1279      "url": "",
  1280      "deprecates": ""
  1281    },
  1282    {
  1283      "constant": "JSStreamMoveNotInProgress",
  1284      "code": 400,
  1285      "error_code": 10129,
  1286      "description": "stream move not in progress",
  1287      "comment": "",
  1288      "help": "",
  1289      "url": "",
  1290      "deprecates": ""
  1291    },
  1292    {
  1293      "constant": "JSStreamNameExistRestoreFailedErr",
  1294      "code": 400,
  1295      "error_code": 10130,
  1296      "description": "stream name already in use, cannot restore",
  1297      "comment": "",
  1298      "help": "",
  1299      "url": "",
  1300      "deprecates": ""
  1301    },
  1302    {
  1303      "constant": "JSConsumerCreateFilterSubjectMismatchErr",
  1304      "code": 400,
  1305      "error_code": 10131,
  1306      "description": "Consumer create request did not match filtered subject from create subject",
  1307      "comment": "",
  1308      "help": "",
  1309      "url": "",
  1310      "deprecates": ""
  1311    },
  1312    {
  1313      "constant": "JSConsumerCreateDurableAndNameMismatch",
  1314      "code": 400,
  1315      "error_code": 10132,
  1316      "description": "Consumer Durable and Name have to be equal if both are provided",
  1317      "comment": "",
  1318      "help": "",
  1319      "url": "",
  1320      "deprecates": ""
  1321    },
  1322    {
  1323      "constant": "JSReplicasCountCannotBeNegative",
  1324      "code": 400,
  1325      "error_code": 10133,
  1326      "description": "replicas count cannot be negative",
  1327      "comment": "",
  1328      "help": "",
  1329      "url": "",
  1330      "deprecates": ""
  1331    },
  1332    {
  1333      "constant": "JSConsumerReplicasShouldMatchStream",
  1334      "code": 400,
  1335      "error_code": 10134,
  1336      "description": "consumer config replicas must match interest retention stream's replicas",
  1337      "comment": "",
  1338      "help": "",
  1339      "url": "",
  1340      "deprecates": ""
  1341    },
  1342    {
  1343      "constant": "JSConsumerMetadataLengthErrF",
  1344      "code": 400,
  1345      "error_code": 10135,
  1346      "description": "consumer metadata exceeds maximum size of {limit}",
  1347      "comment": "",
  1348      "help": "",
  1349      "url": "",
  1350      "deprecates": ""
  1351    },
  1352    {
  1353      "constant": "JSConsumerDuplicateFilterSubjects",
  1354      "code": 400,
  1355      "error_code": 10136,
  1356      "description": "consumer cannot have both FilterSubject and FilterSubjects specified",
  1357      "comment": "",
  1358      "help": "",
  1359      "url": "",
  1360      "deprecates": ""
  1361    },
  1362    {
  1363      "constant": "JSConsumerMultipleFiltersNotAllowed",
  1364      "code": 400,
  1365      "error_code": 10137,
  1366      "description": "consumer with multiple subject filters cannot use subject based API",
  1367      "comment": "",
  1368      "help": "",
  1369      "url": "",
  1370      "deprecates": ""
  1371    },
  1372    {
  1373      "constant": "JSConsumerOverlappingSubjectFilters",
  1374      "code": 400,
  1375      "error_code": 10138,
  1376      "description": "consumer subject filters cannot overlap",
  1377      "comment": "",
  1378      "help": "",
  1379      "url": "",
  1380      "deprecates": ""
  1381    },
  1382    {
  1383      "constant": "JSConsumerEmptyFilter",
  1384      "code": 400,
  1385      "error_code": 10139,
  1386      "description": "consumer filter in FilterSubjects cannot be empty",
  1387      "comment": "",
  1388      "help": "",
  1389      "url": "",
  1390      "deprecates": ""
  1391    },
  1392    {
  1393      "constant": "JSSourceDuplicateDetected",
  1394      "code": 400,
  1395      "error_code": 10140,
  1396      "description": "duplicate source configuration detected",
  1397      "comment": "source stream, filter and transform (plus external if present) must form a unique combination",
  1398      "help": "",
  1399      "url": "",
  1400      "deprecates": ""
  1401    },
  1402    {
  1403      "constant": "JSSourceInvalidStreamName",
  1404      "code": 400,
  1405      "error_code": 10141,
  1406      "description": "sourced stream name is invalid",
  1407      "comment": "",
  1408      "help": "",
  1409      "url": "",
  1410      "deprecates": ""
  1411    },
  1412    {
  1413      "constant": "JSMirrorInvalidStreamName",
  1414      "code": 400,
  1415      "error_code": 10142,
  1416      "description": "mirrored stream name is invalid",
  1417      "comment": "",
  1418      "help": "",
  1419      "url": "",
  1420      "deprecates": ""
  1421    },
  1422    {
  1423      "constant": "JSSourceMultipleFiltersNotAllowed",
  1424      "code": 400,
  1425      "error_code": 10144,
  1426      "description": "source with multiple subject transforms cannot also have a single subject filter",
  1427      "comment": "",
  1428      "help": "",
  1429      "url": "",
  1430      "deprecates": ""
  1431    },
  1432    {
  1433      "constant": "JSSourceInvalidSubjectFilter",
  1434      "code": 400,
  1435      "error_code": 10145,
  1436      "description": "source subject filter is invalid",
  1437      "comment": "",
  1438      "help": "",
  1439      "url": "",
  1440      "deprecates": ""
  1441    },
  1442    {
  1443      "constant": "JSSourceInvalidTransformDestination",
  1444      "code": 400,
  1445      "error_code": 10146,
  1446      "description": "source transform destination is invalid",
  1447      "comment": "",
  1448      "help": "",
  1449      "url": "",
  1450      "deprecates": ""
  1451    },
  1452    {
  1453      "constant": "JSSourceOverlappingSubjectFilters",
  1454      "code": 400,
  1455      "error_code": 10147,
  1456      "description": "source filters can not overlap",
  1457      "comment": "",
  1458      "help": "",
  1459      "url": "",
  1460      "deprecates": ""
  1461    },
  1462    {
  1463      "constant": "JSConsumerAlreadyExists",
  1464      "code": 400,
  1465      "error_code": 10148,
  1466      "description": "consumer already exists",
  1467      "comment": "action CREATE is used for a existing consumer with a different config",
  1468      "help": "",
  1469      "url": "",
  1470      "deprecates": ""
  1471    },
  1472    {
  1473      "constant": "JSConsumerDoesNotExist",
  1474      "code": 400,
  1475      "error_code": 10149,
  1476      "description": "consumer does not exist",
  1477      "comment": "action UPDATE is used for a nonexisting consumer",
  1478      "help": "",
  1479      "url": "",
  1480      "deprecates": ""
  1481    },
  1482    {
  1483      "constant": "JSMirrorMultipleFiltersNotAllowed",
  1484      "code": 400,
  1485      "error_code": 10150,
  1486      "description": "mirror with multiple subject transforms cannot also have a single subject filter",
  1487      "comment": "",
  1488      "help": "",
  1489      "url": "",
  1490      "deprecates": ""
  1491    },
  1492    {
  1493      "constant": "JSMirrorInvalidSubjectFilter",
  1494      "code": 400,
  1495      "error_code": 10151,
  1496      "description": "mirror subject filter is invalid",
  1497      "comment": "",
  1498      "help": "",
  1499      "url": "",
  1500      "deprecates": ""
  1501    },
  1502    {
  1503      "constant": "JSMirrorOverlappingSubjectFilters",
  1504      "code": 400,
  1505      "error_code": 10152,
  1506      "description": "mirror subject filters can not overlap",
  1507      "comment": "",
  1508      "help": "",
  1509      "url": "",
  1510      "deprecates": ""
  1511    },
  1512    {
  1513      "constant": "JSConsumerInactiveThresholdExcess",
  1514      "code": 400,
  1515      "error_code": 10153,
  1516      "description": "consumer inactive threshold exceeds system limit of {limit}",
  1517      "comment": "",
  1518      "help": "",
  1519      "url": "",
  1520      "deprecates": ""
  1521    }
  1522  ]