FileMaker Pro error codes
 
Error Number
Wrong version of FileMaker Pro used to recover file
File is not a FileMaker Pro file or is severely damaged
AVERAGE, COUNT, EXTEND, GETREPETITION, MAX, MIN, NPV, STDEV, SUM and GETSUMMARY: expression found where a field alone is needed
Error codes marked with an asterisk (*) are returned only by web-published databases.
Related topics 
Get(LastError)
Get(LastODBCError) function
Debugging scripts (FileMaker Pro Advanced) function