Return Codes

This section provides a list of all possible return codes.


General

00 Success
02 Invalid cabinet name or - in batch mode only - locked cabinet
03 Password incorrect
04 ISN was not found
05 TID/LU device is not a personal computer
06 TRS could not be invoked
07 DCA feature not implemented
08 Supply either ISN or name, not both
09 ISN does not point to correct object
10 Function not valid for a system folder
11 Supply folder/file name or number, not both
12 No system folder record present
13 Invalid object number
14 Con-form is not available
15 Invalid administrator status
16 Document is locked - editing was not completed
18 API context buffer not available

Mail

21 Addressee not found
22 Can't create spool file entry
23 Sender cabinet ID not found
24 Security violation
25 More addressees than allowed for sender's cabinet
26 Document-name was not found in sender's cabinet
27 Cover note is required
28 Subject is required
29 Cover note could not be saved
30 Distribution list name invalid
31 No members found
32 Member (address) could not be found
33 Addressee not unique
34 Address type not found

Calendar

39 Time range too small for search
40 Date range is negative or more than 90 days
41 Invalid start-date
42 Invalid start-time
43 Invalid end-date
44 Invalid end-time
45 No appointments found (not an error)
46 Requested appointment not found, or there is no appointment
47 Invalid timezone (range -12 to +11)
49 Invalid value for Search-for-hours/Search-for-minutes
50 Value for Search-for-hours/Search-for-minutes is greater than specified time range

Object Handling

51 Invalid name
52 Object with specified name already exists
53 Requested object does not exist
54 At least one keyword was invalid
55 Requested folder/file does not exist
56 Requested folder is a TRS folder
57 Document contains no text
58 No directory record has been created
59 Requested procedure not found
60 Edit area is empty
61 Invalid security code(s)
62 Invalid date format
63 Document already marked for archiving
64 An error has occurred while converting to/from DCA - check end of text
65 This is not a Con-form document
66 Requested folder is not a TRS folder
67 Document not in DCA format
68 Object is not a user-defined object
69 Translated document too large
70 The security levels must be numeric
71 Invalid pre-formatting procedure name
72 Invalid post-formatting procedure name
73 Invalid folder/file name
74 Folder/file already exists
75 Too many folders/files in this cabinet (<65535)
76 Sequence number for folder invalid, set to 1
77 End of list
78 This is not a text document
79 Document format invalid

Printing

80 Document is not correctly structured
81 Invalid formatting profile name
82 Requested formatting profile does not exist
83 Invalid printer profile name
84 Requested printer profile does not exist
85 Compiled version of printer profile not found
86 Printer driver module cannot be loaded
87 System address record for system variables not found
88 Document is not in correct format for printing
89 No printer TID/LU supplied

Individual Return Codes

The return codes 90 to 99 are used in several API subprograms and are defined individually in each API subprogram. See the return code list of the appropriate subprogram for further information.