Home > Error Code > Filemaker Server Error Code 401

Filemaker Server Error Code 401


I have made an script to find some fields and past at a layout report. I was "thinking" what the function does and not double checking the actual function. I like to say: If[ $error = 0 ].... Home; … (which is error code 401). … I'll use the Set Error Capture [On] step to surpress FileMaker's standard dialog and provide my own custom message. … FileMaker Error 401. More about the author

If Get(lastError) > 0 action for failed find Else action for successful find End This does not surpress error messages in the main schedule screen Share this post Link to post What odd behaviour! field blob EXTERNAL 'path' not found 500 Date value does not meet validation entry options 501 Time value does not meet validation entry options 502 Number value does not meet validation If you look at the server log, you will probably still see error 101, but the script will report "OK" when it's complete since you are now exiting the script when

Filemaker Error Codes

Share this post Link to post Share on other sites Create an account or sign in to comment You need to be a member in order to leave a comment Create Thanks for the feedback and correction, Matt Reply Jonathan Jeffery says: September 1, 2011 at 8:06 am Thanks for this -- I just spent a fruitless hour trying to figure out Luckily a lot of the loop functions were just setting boolean fields so I just replaced that chunk with replace field contents. Also, the error code it reports seems to be generated within a nested part of the script, where the logic is not active.

Share this post Link to post Share on other sites bcooney 90 Consultant Moderators 90 6,157 posts Location: Long Island, NY Version: 14 Advanced Cross Platform Expert Posted June 27, All three choices seem like perfectly rational responses to me, but are probably not what the programmer intended. Add a manual switch to toggle this setting when debugging.I have found this method helps debug complex server side stuff as well as dealing gracefully with when the file is on Filemaker Server Error Codes Sign In Now Sign in to follow this Followers 0 Go To Topic Listing FileMaker Server 11 All Activity Home FileMaker Server Administration Legacy FileMaker Server Discussions FileMaker Server 11 No

It's on. Thanks for All. It will be truncated 737 Bento table is reported as missed when trying to import it 738 A theme named \1770 already exists in \1771.\nDo you want to replace it with http://www.filemaker.com/help/13/fmp/en/html/scripts_ref1.36.15.html This is my collection of experiences, things I found helpful and everything FileMaker.

The idea is that it's OK for certain error messages, but then to do something that you know won't cause an error when you get them; i.e. Filemaker 14 Error Codes This tool uses JavaScript and much of it will not work correctly without it enabled. Now you're done! As a further note, this bug only seems to be an issue if your ‘end loop' statement is at the very end of the script.

Filemaker Error 101

You can trap for this error specifically to make the server script happy. http://fmforums.com/topic/86055-no-records-found-401-filemaker-script-error/ I added - Get ( FoundCount ) = Get ( RecordNumber ) right before the Go To Next Record script step - and still getting 101 error - when trying to Filemaker Error Codes Recent Comments Matt on FMS 15, ESS & AWS RedshiftHello Joan, It's primarily for big data, large data sets with millions of records. Filemaker Set Error Capture I even trap for an error on commit record and then do a revert record step if I get an error there, then I skip that record and move on too.

Send feedback. my review here But does the FMPS scan all the script and generate errors even if logical branches aren't active at run time? A full list of error codes is kindly provided by NightWing at: http://www.nightwing.com.au/FileMaker/Resources/ErrorCodes.html mbrasil07-12-2009, 06:13 AMThanks Techphan and cwilliams10. When the script wouldn't repeat and run again, did you look in the Clients section of the Server Admin Console and see if the script was still running from the previous Filemaker Get Last Error

But in practice, you often don't want to tell your users no records were found. Do you want to delete the reference to the file anyway? 3003 Can not write file to the external storage. 3004 Directory Cant Edit 3005 Directory Cant Delete 3100 Theme is The error code for the find request is stored in our variable which I will now refer to as $error. click site All Places > Discussions > Discussions Please enter a title.

I need to do a little research here, but the online help specifically says "FileMaker Pro scripts in databases hosted by FileMaker Server." Make sure to take a look in FileMaker's Filemaker Error No Records Found If no errors occur, sorts records. Set Error Capture [On]Perform Find [Restore]If [Get ( LastError ) = 0] Sort Records [Restore; No dialog]Else If [Get ( LastError ) = 400] Show All RecordsElse If [Get ( LastError

We are on FM 13.0v9.

If you are referring to the error FileMaker server logs, then no, not that I'm aware of. If no records match the find request, displays a custom dialog. Is this a bug ? Filemaker Error Code No Records Found do something different This statement not only catches the 401 error but also catches all the other weird errors that FileMaker can throw when doing a find.

Just came across this issue myself. Format  Set Error Capture [] Options   • On suppresses FileMaker Pro alert messages and some dialog boxes. The 401 error means that no records are found, so I too am guessing that it is the Perform Find command that returns no records which is seen as an error navigate to this website If no find criteria were specified, shows all records.

Or sign in with one of these services Sign in with Facebook Sign in with Twitter Sign in with LinkedIn Sign Up All Content All Content This Topic This Forum Advanced When you turn error capture on in your script, FileMaker stops telling your users about errors. First, is the error code 100 caused by looking for a record in the external file? and set the variable to the function Get ( LastError ).

Please conribute other best practices here! 599Views Tags: none (add) This content has been marked as final. Sign In Sign Up Home Back Home Custom Functions Gallery Calendar Chat Forums Back Forums 360 Works Geist Interactive FM Starting Point Affiliates Blogs Activity Back Activity All Activity Unread Content