FileMaker Pro error codes
This table describes the numbered error codes returned by the Get(LastError) function, or by the Script Debugger in FileMaker Pro Advanced.
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(LastODBCError) function
Debugging scripts (FileMaker Pro Advanced) function