databuzz

FileMaker PHP API -

Discussion created by databuzz on Jan 25, 2016
Latest reply on May 9, 2017 by TSGal

Product and version - FileMaker Server 14.0.4.413

 

OS and version - Mac OS X 10.10.5

 

Description

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');

Outcomes