Developer’s Guide

Table Of Contents
Appendix C
FileMaker Pro values for error codes
The FileMaker Pro Web Companion generates an error code for
databases published in XML, JDBC, or CDML format every time
data is requested. The following table describes the value of each
error code, which is based on the type of query to the database. Use
these values to do error handling on your web pages.
For more information, see the Status (CurrentError) function
described in chapter 11 of the FileMaker Pro 5 User’s Guide or type
error messages in the Index tab of FileMaker Pro Help.
Note In FileMaker Pro for Mac OS, if an error occurs while
performing an AppleScript from ScriptMaker, the AppleScript error
code will be returned.
Error code value Description
-1 Unknown error
0 No error (success)
1 User canceled action
2 Memory error
3 Command is unavailable (for example, wrong operating
system, wrong mode, etc.)
4 Command is unknown
5 Command is invalid (for example, a Set Field script step
does not have a calculation specified)
100 File is missing
101 Record is missing
102 Field is missing
103 Relationship is missing
104 Script is missing
105 Layout is missing
200 Record access is denied
201 Field cannot be modified
202 Field access is denied
203 No records in file to print or password doesn't allow print
access
204 No access to field(s) in sort order
205 Cannot create new records; import will overwrite existing
data
206 Cannot change password or file is not modifiable
207 Cannot access field definitions or file is not modifiable
300 The file is locked or in use
301 Record is in use by another user
302 Script definitions are in use by another user
303 Paper size is in use by another user
304 Password definitions are in use by another user
305 Relationship or value list definitions are in use by another
user
306 Record modification ID does not match
400 Find criteria is empty
401 No records match the request
402 Selected field is not a match field for a lookup
403 Exceeding maximum record limit for trial version of
FileMaker Pro
404 Sort order is invalid
Error code value Description