indiecollect

Bug in FileMaker 16 Data API?

Discussion created by indiecollect on May 21, 2017
Latest reply on May 22, 2017 by wimdecorte

We're running into an issue with the FileMaker 16 Data API.

 

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.

}

 

Has anyone else seen this behavior? Any workarounds short of enabling modification of a primary key?

 

Outcomes