2 Replies Latest reply on Jul 10, 2017 3:20 PM by TSGal

    FileMaker 16 Data API Can't Perform Find with Prohibit Modification Turned On

    indiecollect

      FileMaker 16 Data API Can't Perform Find with Prohibit Modification Turned On

       

       

      Product and version:  FileMaker Server 16.0.1.184

      OS and version:  Windows Server 2016 Datacenter

       

       

      When using the REST API Find endpoint:

       

      https://fms.xxxxxx.org/fmi/rest/api/find/ICRS.fmp12/wMoPicList

      (Where: ICRS.fmp12 is our solution, wMoPicList is our layout)

       

       

      And POSTing this body:

      {"query":[{"MoPicID": "=100013715"}]}

       

       

      The API returns:

      { "errorMessage": "Field cannot be modified",

      "errorCode": "201"

      }

       

      If we turn off "Prohibit modification of value during data entry" on the MoPicID field, the API returns the correct data:

      {

        "errorCode": "0",

        "result": "OK",

        "data": etc.

      }