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 and error’ which AppleScript can ‘catch’ using an ‘on error’ block.

This document lists the complete error code list as of February 28, 2012. This list will be updated as the error codes returned by Helix evolves.

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

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

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

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

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

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

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