Product
Support
Everything Else
AppleScript Error Codes
Overview

When creating structure in Helix, it is possible to make errors. In the graphic interface, errors are reported by a beep, with a ‘Why? message’ available to provide an explanation. In AppleScript, errors are handled by ‘throwing an error’ which AppleScript can ‘catch’ using an ‘on error’ block.

This document lists the complete error code list for Helix 7.0.3 and later. Errors may not appear, or have different error numbers, in versions: Helix 7.0–7.0.2

AppleScript Error Codes
1000 Store record failed: data type mismatch or validation failure
1001 User canceled
1002 Store record failed: out of room on disk
1003 Cannot change the data type of a field containing data
1004 Cannot change the inert property of a field containing data
1005 Only text data type can index keywords
1006 Keyword field cannot be inert
1007 Only document data type can keep versions
1008 Only document data type has a storage type
1009 Validation requires an abacus icon
1010 Validation requires a text valued abacus icon
1011 Validation abacus must be in the same relation as the field it is validating
1012 Invalid abacus tile code
1013 Tile cannot be used for a built-in validation
1014 Error converting constant in built-in validation
1015 Ignore words list is allowed only for keyword text fields
1016 Custom label list must contain exactly two or three strings
1017 Dynamic popup icon must be in the specified relation
1018 Illegal rectangle coordinates
1019 Invalid color index
1020 Font must be a record with at least a font name and size
1021 Font size must be greater than 0
1022 Only one default button is allowed on a template
1023 Invalid line width
1024 Icon must be from the same relation
1025 Object must be a specified
1026 Object must be a view
1027 Object must be a field
1028 Object must be a abacus
1029 Object must be a sequence
1030 Object must be a template
1031 Object must be a index
1032 Object must be a post
1033 Object must be a relation
1034 Object must be an icon
1035 Conditional style requires an abacus
1036 Conditional style abacus must be in the same relation
1037 Conditional command iteration value must be a field or abacus
1038 Conditional command target must be a sequence
1039 Conditional command iteration value must be number or fixed point
1040 Conditional command iteration value must be in the same relation
1041 Calculated label must be a field or an abacus
1042 Calculated label icon must be in the same relation
1043 Calculated label icon must be text
1044 Structure check failed. Check the Session Data Log
1045 A subform can not be made larger than its source template
1046 No collection is open
1047 Rectangles are not properly nested
1048 Background rectangle is not within page rectangle
1049 Illegal overlapping rectangles
1050 A subform may not be put outside a repeat rectangle
1051 A command rectangle may not be put inside a repeat rectangle
1052 Every data rectangle must contain a field and/or an abacus icon
1053 A data rectangle within a repeat rectangle can not contain both a field and an abacus
1054 A data rectangle within a repeat rectangle can not have the Keep Value property turned on
1055 A field icon may not be put outside the repeat rectangle
1056 A field icon may be used only once per template
1057 A template must have at least one rectangle
1058 An abacus and field in the same rectangle must be of the same type
1059 Invalid abacus
1060 Cannot assign format to invalid abacus
1061 Cannot delete the page rectangle
1062 Anchor rectangle is not in group rectangle
1063 Rectangle is too small
1064 Only one move target allowed
1065 Only one add target allowed
1066 Only one remove target allowed
1067 Invalid parameter
1068 Rectangles must come from the same template
1069 Cannot move rectangle from background
1070 Login required for User Mode access
1071 Multiple errors encountered
1072 Make with properties not implemented yet for this class
1073 A query abacus must be flag type
1074 A queriable icon is required
1075 Object must be a field or an abacus
1076 Subform linking icons must be of the same type
1077 Subform linking icons must convert to text
1078 An index must contain at least one index element
1079 Invalid template
1080 Invalid AutoSave interval
1081 Invalid AutoSave delay
1082 Invalid AutoSave start time
1083 Cannot switch to User Mode
1084 Cannot switch to Design Mode
1085 A user with Design Mode access is required
1086 Cannot check structure while changes are pending
1087 Cannot save while changes are pending
1088 Both icons in a data rectangle must be of the same type
1089 Target icon not found
1090 Target command not found
1091 File name required
1092 Logging is allowed only in User Mode
1093 A template can only contain one repeat rectangle
1094 A command key is not allowed for this menu item
1095 An icon is not allowed for this menu item
1096 An hierarchical menu is not allowed for this menu item
1097 A view, user, or sequence icon is required here
1098 Invalid command key construct
1099 Too many menus for this user
1100 Invalid operator
1101 Illegal value
1102 Quick Query is allowed only on entry forms
1103 The selected icon is not present
1104 The post icon must be in the same relation
1105 Invalid post icon
1106 Posting conflict
1107 Window did not open
1108 That template cannot be used in a form query
1109 A power query item requires a field or an abacus
1110 A power query item must be in the same relation
1111 A permanent item must be of flag type
1112 This icon cannot be used in a power query (bad data type)
1113 Not a valid element
1114 Attempt to delete a deleted menu
1115 Attempt to access a property from something that can't have properties
1116 Posting source must be a field or an abacus
1117 Posting target must be a field or an abacus
1118 Posting source must be in the same relation
1119 Posting target must be in the same relation
1120 Posting source and target values must be of the same data type
1121 Posting data source must be field or abacus
1122 Posting data target must be non-inert field
1123 Invalid posting option
1124 The auto open view specified is in the wrong relation
1125 Auto open View must be an entry form
1126 Duplicate posting data target
1127 Operation incompatible with data types
1128 Can not set multiple objects to a value
1129 Text string too long
1130 An abacus cannot reference itself
1131 A tile cannot connect to itself
1132 Incompatible types as operands in tile
1133 Syntax error in Abacus Expression Language phrase
1134 Object type mismatch in expression
1135 An object specified in the expression does not exist
1136 Wrong number of operands specified in the expression
1137 This operator does not accept a style
1138 This index requires a field or an abacus
1139 This icon is not allowed in an index
1140 An index item must be in the same relation
1141 This sequence is invalid
1142 This window can only be opened in Design Mode
1143 This command requires that changes to the icon be committed first
1144 An Index or keyword field is required
1145 This icon cannot be placed here in this sequence
1146 This command cannot be placed here in this sequence
1147 Only background label rectangles can be moved forward or backward
1148 This repeat rectangle is unable to repeat
1149 Cannot delete an active object
1150 Cannot use this Apple event on Server
1151 Can not logout with uncommitted changes; commit or revert to resolve
1152 Must login with the 'modifying allowed' parameter true to make changes
1153 A user icon can not be added to itself
1154 Column dividers must be in order
1155 Too many parameters specified
1156 Sorting column repeated
1157 Display column repeated
1158 Datatype must be defined before the format
1159 Invalid object in list
1160 Post every can not be true if the source and target values are missing
1161 The 'with contents' parameter requires text. Use 'with properties' when supplying a record
More Error Codes

These messages may appear in the Why? dialog, or be returned by AppleScript. Some of these are, or will become, obsolete in macOS RADE.

9001 QuickTime is not installed
9002 [x] and cannot be used
9003 An icon may not be put there.
9004 An icon name may not be longer than 255 characters.
9005 Rectangles may not overlap.
9006 A data rectangle may not contain another rectangle.
9007 A label rectangle may contain at most 32000 characters.
9008 Repeat rectangles may not be duplicated
9009 All rectangles must be within the page rectangle.
9010 An icon may only be placed inside a data rectangle.
9011 There is nothing selected to type into.
9012 Entry incompatible with field type.
9013 This word cannot be queried.
9014 This word cannot contain space(s).
9015 Every data rectangle must contain a field and/or an abacus icon.
9016 Every command button must contain a sequence icon.
9017 Invisible character ignored.
9018 No tiles match the keyed string [x].
9019 Only one tile matches the keyed string [x].
9020 A template may not be changed while an icon that is using it is open.
9021 An icon may be put only in a black hole or a black bar.
9022 An existing icon may be put only into the wastebasket.
9023 A field icon may be used only once per template
9024 Icon and black hole have incompatible types.
9025 Arrow and black hole have incompatible types.
9026 A value has been entered, but no operation is selected.
9027 An operation is selected, but no value has been entered.
9028 This hole may not be filled in before the last hole is filled in.
9029 The last hole of this tile may hold only a relation icon. Try double clicking the hole.
9030 This hole may contain only field or abacus icons. Try double clicking the hole.
9031 Only icons belonging to the relation in the last hole of this tile can be put in this hole.
9032 A relation icon may only be put in the last hole of a lookup tile, a sub… tile, or a use… tile.
9033 An icon from another relation may only be used in a lookup tile, a sub… tile, or a use… tile.
9034 This hole can only contain a keyword field icon
9035 This icon is being used somewhere else, and may not be thrown away.
9036 An icon may not be thrown away while it is open.
9037 An icon may not be thrown away while it is locked.
9038 Too many icons, tiles and rectangles.
9039 A field icon may not be put outside the repeat rectangle.
9040 The repeat rectangle overlaps some other rectangle.
9041 A rectangle must be large enough to hold at least one character in the selected font and style.
9042 [x] contains an invalid abacus icon.
9043 A field or abacus icon of type picture should be placed here.
9044 The field and the abacus icons are of incompatible types.
9045 A template containing a repeat rectangle can not have defaulted fields.
9046 Only a relation or template can be used in the second hole of the use… tile.
9047 There is no relation or template in the second hole of this use… tile.
9048 A template can only be used in the second hole of a use… tile.
9049 A Rectangle containing a picture item may not be used in a query icon.
9050 An abacus containing a form related tile cannot be used in a query icon.
9051 Only a summary abacus icon may be used in this hole.
9052 A subform may not be put there.
9053 Please select a template.
9054 Please select a subform template to specify the subform linkage.
9055 Please use the fourth column to select the linkage between the relations.
9056 Invalid subform template.
9057 No more characters can be typed here.
9058 There are no characters that can currently be deleted here.
9059 The enter key cannot be pressed here.
9060 This record is write locked. It has been selected in another window.
9061 Please select an item in each column or deselect the item under the marching ants.
9062 You must fix the invalid items before this post may be used.
9063 A record to be posted into is write locked by another window.
9064 Unable to open a new window to complete this operation.
9065 Password not set. You must identically type the password twice.
9066 That Command key is not active at this time.
9067 This abacus is improperly constructed. It will always return undefined when used.
9068 There are one or more icons not associated with any tile.
9069 A subform may not be put outside the repeat rectangle.
9070 could not be read from the volume. The record was not entered.
9071 The arrow keys cannot move any farther.
9072 Multiple icons are selected, and editing is not possible.
9073 That key has no function when searching for an icon.
9074 You cannot use the backspace key several times in a row.
9075 Multiple icons are selected, and fast finding is not possible.
9076 I do not know what type of icon you want to search through.
9077 No flag labels start with the typed character(s).
9078 That field can not be edited.
9079 That popup menu is not available at this time.
9080 That popup menu has been invalidated.
9081 You need to select an icon in order to perform that command.
9082 A record to be posted into is write locked by user:
9083 This record is write locked. It is selected by user:
9084 User: [x] tried to select a record you have write locked.
9086 The server for this collection has been shut down.
9087 The server is attempting to close this collection. Please finish entry and leave the network.
9088 That name is already in use. Please assign a different name to this newly created user.
9089 User editing is not permissible at this time. Someone else is currently editing users.
9090 User editing is not permissible at this time. Someone else has edited users while you have been connected. You must reconnect before editing.
9091 [x] Error executing line [x] in sequence [x]. Command: [x]
9092 An item may not be dragged there.
9093 The selected font, size, style or scroll bars require a larger rectangle than is being edited.
9094 The selected record has been deleted. Try resetting the query for this list. If the problem persists, ask your database administrator to run Helix Utility and do a Data Damage Repair.
9095 The paste operation could not be completed. Text rectangles can contain at most 32767 characters.
9096 The picture involved is too large for the current memory configuration.
9097 The control is too big for this rectangle.
9098 You cannot duplicate the page rectangle.
9099 Removing the last rectangle will invalidate this template
9100 An index window cannot be opened until all popups are finished calculating.
9101 An abacus window cannot be opened until all popups have finished calculating.
9102 A field window cannot be opened until all popups have finished calculating.
9103 Queries attached to asynchronous lists are locked until the list is done or cancelled by closing.
9104 Work On Document is not enabled at this time.
9105 Work On Document is not available at this time.
9106 Copy From Volume is not enabled at this time.
9107 Copy From Volume is not available at this time.
9108 may not have been closed on and/or deleted from the volume.
9109 may be locked or in use, and not accessible for this operation.
9110 A rectangle containing a document item may not be used in a query icon.
9111 A field or abacus icon of type document should be placed here.
9112 A field or abacus icon of type picture or document should be placed here.
9113 Copy failed.
9114 Paste structure error - Unrecognized identification.
9115 Paste structure error - Unrecognized type.
9116 Paste structure error - Unsupported version.
9117 Paste structure error - Unrecognized object type.
9118 Paste structure error - Unrecognized object id.
9119 Paste structure error - Invalid format.
9120 Paste failed. The item being pasted does not contain the proper Helix data.
9121 The contents of an open window have been updated. Window: [x]
9122 A locked icon may not be edited.
9123 The view you are trying to open is currently unavailable.
9124 You can not resize a subform from within a host form. To resize it, open the template and resize it directly.
9125 The rectangle being resized can not be made any smaller without deleting it. To delete the rectangle, press CMD-delete or drag its grow box up and/or to the left.
9126 An AE process request was received that would have exceeded the limit of [x]. Request denied, reply 260 sent.
9127 Hmmm… that really should do something and it could be that what you expected is what we think should happen.
9128 This dialog can not be opened because the rectangle contains an image larger than 64K. Use menu commands to change the attributes instead.
9129 Invalid value
9130 This view is invalid and can not be opened. Complete the setup in the Inspector.
9131 Clipping file cannot be saved. Apple Resource Manager limits clipping files to 16 MB.
9132 Summary calculation is required here.
9133 Abacus is not well formed.
9134 Cannot use Form tile here.
9135 All open Apple event processes must be closed before the collection can be closed.
9136 A save was triggered when DATFull returned true in MonitorDAT.
9137 A save was triggered when DATFull returned true in ChkAutoSave.
9138 The collection is open and ready for use.
Legacy AppleScript Error Codes

These error codes are returned by the ‘Legacy’ events found in the Helix Data Suite.

10 Incorrect number of items in the descriptor list.
20 No collection opened with the named Helix application.
30 Incorrect collection password.
40 Incorrect collection name.
50 Collection not in user mode.
60 Illegal user name.
70 Invalid password for the target user.
80 No such relation exists.
90 No such form exists.
100 No such form exists for this User.
110 String is too long. (Changed in 7.0.3)
120 Invalid transaction code.
130 Internal document storage is not supported. (Changed in 7.0.3)
140 Form not in Show Form mode.
150 AEDone illegal Process ID.
160 AECancel illegal Process ID.
170 Only longint is acceptable.
180 End-of-List encountered.
190 Illegal number of rows requested (Must be between 1 and 10).
200 AEStore. Not an entry form.
210 AEStore. No valid field in entry form.
220 AEStore. Problem with input data.
230 AERetrieve. Process not finished yet.
240 AEDelete. Illegal Record ID.
250 AEDelete. Locking problem
260 Maximum number of Apple event users exceeded.
270 AEGetRow. Locking problem with posting target record.
280 Menu item not found.
290 Specified menu item disabled.
300 Invalid retrieve option. (Added in 6.2b2)
310 Collection is being accessed by remote users. (Added in 6.2.1)
Sequence Error Codes

These messages appear when an error occurs in a sequence, and may be returned by AppleScript.

361 Command not enabled.
362 Form not enabled.
363 Sequence not enabled.
364 User not enabled.
365 Function did not return a record.
366 No Import file has been specified.
367 No Export file has been specified.
368 Filepath is invalid. (^filepath)
369 Wrong printer device has been selected.
370 Export file already exists. (filepath)
371 Invalid user password specified.
372 A record could not be entered.
373 The import file could not be found.
374 Keypress: Enter nested too deeply to continue.
375 Undetermined sequence error occurred.
Random Error Codes

These messages appear in response to various errors. Some are obsolete in macOS.

4001 The server for this collection is full with ^0 clients. Contact Helix Customer Service at [x] to increase your client license.
4002 Out of memory.
4003 Helix cannot print because there is no printing resource in the System Folder in use.
4004 Scaled calculations cannot be printed on the LaserWriter or in draft mode on the ImageWriter.
4005 The window that you are printing is too big to spool to the Imagewriter.
4006 Nothing was printed. Check your selected page range in the print dialog.
4007 No disk space can be found for the printing spool file.
4008 The LaserWriter did not receive data in time for printing to occur.
4009 Refer to your computer's help for instructions on selecting a printer.
4010 Sorry, an error has occurred while printing. ID:
4011 The Help File cannot be found.
4012 Out of disk space, try a disk with more free space.
4013 File can not be opened.
4014 Too many files on this disk, try another.
4015 Disk is write protected. Unlock the disk and try again or use a different disk.
4016 Sorry, an inexplicable file error has occurred.
4017 An error occurred while reading the file. Please check the format of the file.
4018 An error occurred while writing the file.
4019 There is not enough memory to run Helix.
4020 User menu mode is not available for this collection.
4021 [x] files could not be deleted.
4022 [x] documents could not be updated.
4023 Picture not available.
4024 Document format unsupported.
4025 Document not found.
4026 A collection of this name is already registered on the network.
4027 The server for this collection can not currently be found on the network.
4028 No collections were found on the network to be currently registered and/or with compatible servers.
4029 You cannot connect to this collection because the server is attempting to shut down.
4030 You cannot connect to this collection because the server is an older version of Helix. Ask your network administrator for the correct version of Helix Client.
4031 You cannot connect to this collection because the server is a more recent version of Helix. Ask your network administrator for the correct version of Helix Client.
4032 This user has been logged off by the System Administrator.
4033 The selected user has disappeared. Click Update Info to update the window.
4034 This user is not responding and has been automatically logged off by the Server.
4035 The server for this collection is full with [x] clients. Contact Helix Customer Service at [x] to license a larger server.
4036 Illegal IP address.
4037 No server found or server did not have a collection open.