using the REST API I'm issuing the following call to get a list of documents.
GET /CustXXXXX/api/v1/Archive/findDocument?$select=documentId,date,type,text,contactId,contact/nameDepartment,projectId,project/name,saleId,person/personId,person/fullName,sale/heading,associate/associateDbId,associate/assocName&$filter=(contactId=1 or projectId=1 or saleId=1) and type oneof (1,4,3,5,6,106,2,59,60,104)&$orderBy=date desc
This has been working fine for several databases, but now we have one installation in SOD that throws the following 500 Internal Error:
Operators for int fields require a FieldInfo argument of type FKArray; got appointment.task_idx FK
If I change the type criteria from "oneof" to "in" it seems to work.
type oneof (1,4,3,5,6,106,2,59,60,104)
type in (1,4,3,5,6,106,2,59,60,104)
Any idea what causes this? Has something changed with the int operators lately?