Skip to content

Files

Latest commit

 

History

History
74 lines (74 loc) · 7.29 KB

jmap-error-codes.csv

File metadata and controls

74 lines (74 loc) · 7.29 KB
1
JMAP Error CodeIntended UseChange ControllerDescriptionReference
2
accountNotFoundcommonIETFThe accountId does not correspond to a valid account.[RFC-ietf-jmap-core-17, Section 3.5.2]
3
accountNotSupportedByMethodcommonIETFThe accountId given corresponds to a valid account, but the account does not support this method or data type.[RFC-ietf-jmap-core-17, Section 3.5.2]
4
accountReadOnlycommonIETFThis method call would modify state in an account that is read-only (as returned on the corresponding Account object in the JMAP Session resource).[RFC-ietf-jmap-core-17, Section 3.5.2]
5
anchorNotFoundcommonIETFAn anchor argument was supplied, but it cannot be found in the results of the query.[RFC-ietf-jmap-core-17, Section 5.5]
6
alreadyExistscommonIETFThe server forbids duplicates and the record already exists in the target account. An existingId property of type Id MUST be included on the error object with the id of the existing record.[RFC-ietf-jmap-core-17, Section 5.4]
7
cannotCalculateChangescommonIETFThe server cannot calculate the changes from the state string given by the client.[RFC-ietf-jmap-core-17, Section 5.2 and 5.6]
8
forbiddencommonIETFThe action would violate an ACL or other permissions policy.[RFC-ietf-jmap-core-17, Section 3.5.2, 5.3, and 7.2.1]
9
fromAccountNotFoundcommonIETFThe fromAccountId does not correspond to a valid account.[RFC-ietf-jmap-core-17, Section 5.4 and 6.3]
10
fromAccountNotSupportedByMethodcommonIETFThe fromAccountId given corresponds to a valid account, but the account does not support this data type.[RFC-ietf-jmap-core-17, Section 5.4]
11
invalidArgumentscommonIETFOne of the arguments is of the wrong type or otherwise invalid, or a required argument is missing.[RFC-ietf-jmap-core-17, Section 3.5.2]
12
invalidPatchcommonIETFThe PatchObject given to update the record was not a valid patch.[RFC-ietf-jmap-core-17, Section 5.3]
13
invalidPropertiescommonIETFThe record given is invalid.[RFC-ietf-jmap-core-17, Section 5.3]
14
notFoundcommonIETFThe id given cannot be found.[RFC-ietf-jmap-core-17, Section 5.3]
15
notJSONcommonIETFThe content type of the request was not application/json or the request did not parse as I-JSON.[RFC-ietf-jmap-core-17, Section 3.5.1]
16
notRequestcommonIETFThe request parsed as JSON but did not match the type signature of the Request object.[RFC-ietf-jmap-core-17, Section 3.5.1]
17
overQuotacommonIETFThe create would exceed a server-defined limit on the number or total size of objects of this type.[RFC-ietf-jmap-core-17, Section 5.3]
18
rateLimitcommonIETFToo many objects of this type have been created recently, and a server-defined rate limit has been reached. It may work if tried again later.[RFC-ietf-jmap-core-17, Section 5.3]
19
requestTooLargecommonIETFThe total number of actions exceeds the maximum number the server is willing to process in a single method call.[RFC-ietf-jmap-core-17, Section 5.1 and 5.3]
20
invalidResultReferencecommonIETFThe method used a result reference for one of its arguments, but this failed to resolve.[RFC-ietf-jmap-core-17, Section 3.5.2]
21
serverFailcommonIETFAn unexpected or unknown error occurred during the processing of the call. The method call made no changes to the server's state.[RFC-ietf-jmap-core-17, Section 3.5.2]
22
serverPartialFaillimitedIETFSome, but not all expected changes described by the method occurred. The client MUST re-synchronise impacted data to determine server state. Use of this error is strongly discouraged.[RFC-ietf-jmap-core-17, Section 3.5.2]
23
serverUnavailablecommonIETFSome internal server resource was temporarily unavailable. Attempting the same operation later (perhaps after a backoff with a random factor) may succeed.[RFC-ietf-jmap-core-17, Section 3.5.2]
24
singletoncommonIETFThis is a singleton type, so you cannot create another one or destroy the existing one.[RFC-ietf-jmap-core-17, Section 5.3]
25
stateMismatchcommonIETFAn ifInState argument was supplied and it does not match the current state.[RFC-ietf-jmap-core-17, Section 5.3]
26
tooLargecommonIETFThe action would result in an object that exceeds a server-defined limit for the maximum size of a single object of this type.[RFC-ietf-jmap-core-17, Section 5.3]
27
tooManyChangescommonIETFThere are more changes than the client's maxChanges argument.[RFC-ietf-jmap-core-17, Section 5.6]
28
unknownCapabilitycommonIETFThe client included a capability in the "using" property of the request that the server does not support.[RFC-ietf-jmap-core-17, Section 3.5.1]
29
unknownMethodcommonIETFThe server does not recognise this method name.[RFC-ietf-jmap-core-17, Section 3.5.2]
30
unsupportedFiltercommonIETFThe filter is syntactically valid, but the server cannot process it.[RFC-ietf-jmap-core-17, Section 5.5]
31
unsupportedSortcommonIETFThe sort is syntactically valid, but includes a property the server does not support sorting on, or a collation method it does not recognise.[RFC-ietf-jmap-core-17, Section 5.5]
32
willDestroycommonIETFThe client requested an object be both updated and destroyed in the same /set request, and the server has decided to therefore ignore the update.[RFC-ietf-jmap-core-17, Section 5.3]
33
mailboxHasChildcommonIETFThe mailbox still has at least one child mailbox. The client MUST remove these before it can delete the parent mailbox.[RFC-ietf-jmap-mail-16, Section 2.5]
34
mailboxHasEmailcommonIETFThe mailbox has at least one message assigned to it and the onDestroyRemoveMessages argument was false.[RFC-ietf-jmap-mail-16, Section 2.5]
35
blobNotFoundcommonIETFAt least one blob id referenced in the object doesn't exist.[RFC-ietf-jmap-mail-16, Section 4.6]
36
tooManyKeywordscommonIETFThe change to the email's keywords would exceed a server-defined maximum.[RFC-ietf-jmap-mail-16, Section 4.6]
37
tooManyMailboxescommonIETFThe change to the email's mailboxes would exceed a server-defined maximum.[RFC-ietf-jmap-mail-16, Section 4.6]
38
invalidEmailcommonIETFThe email to be sent is invalid in some way.[RFC-ietf-jmap-mail-16, Section 7.5]
39
tooManyRecipientscommonIETFThe [RFC5321] envelope (supplied or generated) has more recipients than the server allows.[RFC-ietf-jmap-mail-16, Section 7.5]
40
noRecipientscommonIETFThe [RFC5321] envelope (supplied or generated) does not have any rcptTo emails.[RFC-ietf-jmap-mail-16, Section 7.5]
41
invalidRecipientscommonIETFThe rcptTo property of the [RFC5321] envelope (supplied or generated) contains at least one rcptTo value which is not a valid email for sending to.[RFC-ietf-jmap-mail-16, Section 7.5]
42
forbiddenMailFromcommonIETFThe server does not permit the user to send an email with the [RFC5321] envelope From.[RFC-ietf-jmap-mail-16, Section 7.5]
43
forbiddenFromcommonIETFThe server does not permit the user to send an email with the [RFC5322] From header field of the email to be sent.[RFC-ietf-jmap-mail-16, Sections 6.3 and 7.5]
44
forbiddenToSendcommonIETFThe user does not have permission to send at all right now.[RFC-ietf-jmap-mail-16, Section 7.5]