Product and version - FileMaker Server 188.8.131.523
OS and version - Mac OS X 10.10.5
Attempting a find command via the PHP API referencing a layout named 'WebSites' will fail with a 401 error.
How to replicate
Create a PHP page that performs a find command referencing a layout named 'WebSites'. For example:
$request = $fm->newFindCommand('WebSites');
When the find command is performed the result will be a 401 error.
Workaround (if any)
Rename the layout to anything other than 'WebSites' appears to fix the issue.
$siteRequest = $fm->newFindCommand('WebPHPSites');