Custom database error types
Database connections may return the following errors:Return errors
To return an error, call thecallback() function and pass error as the first parameter:
Return errors when using Lock
If you use Lock, you can customize the error messages by adding them to the dictionary.Troubleshoot errors
Test the script using the Try button. If you do not get the expected result or you receive an error, use Actions Real-time Logs, useconsole.log() statements in your script, and try the connection again. The output of console.log() prints to the Actions Real-time Logs window.
You may experience errors using action scripts to import, create, or delete users. Use console.logs to verify the error is a result of using action scripts. To learn more, read Custom Database Action Script Templates.