AnsweredAssumed Answered

Account invalid - different error codes

Question asked by teodora_popoaca on Jun 7, 2018
Latest reply on Oct 13, 2018 by jrenfrew

Product and version: FileMaker Pro Advanced 17


OS and version: macOS 10.213.2


Browser and version (for WebDirect only) -------


Hardware: Macbook, 1,2 GHZ, Intel Core M, 8GB 1600 MHz DDR3,  Intel HD Graphics 5300 1536MB   


Description: If a script is run to enable an account that cannot be found, on FileMaker 16 it gives as an error 213, and when the same script is run on the FileMaker 17, the error it returns is instead 212.



Invalid user account and/or password; please try again


User account and/or password does not exist


How to replicate

In a new file simply create a script with two lines like this:

Enable Account [Account Name: "AccountName"; Activate]

Show Custom Dialog [Get (LastError)]
Save the script and the file.
Open with FileMaker Pro Advanced 16 and run the script - Gives error 213
Open with FileMaker Pro Advanced 17 and run the script - Gives error 212


Workaround (if any)


Reason: If any application uses the error code for some calculation, it might interfere with the result.