Brian Dunning's Error Code Reference

FileMaker Error 400

Find criteria are empty

 

Comments

E.J. Sexton   E.J. Sexton
Aug 19, 2013
Also when using the PHP API in FileMaker Server 12, this error can occur when calling a script that uses "Constrain Found Set []" on an empty found set.

Use a conditional, such as "If [Get(FoundCount)]", to verify that a found set exists before calling this script step.
 
E.J. Sexton   E.J. Sexton
Aug 19, 2013
When using the PHP API in FileMaker Server 12, this error can occur when calling a script that uses "Go to Record/Request/Page [Next; Exit after last]".

This can be fixed by adding the script step "Exit Loop If [Get(RecordNumber) = Get(FoundCount)]" prior to the "Go to" script step.