My task to Progress Report collection is one to many. However, I cannot delete any progress reports. When I press delete, the error popup shows “to do destroy action, filter or filterByTk is required”
Could you please provide the detailed error message from the browser console or server logs when you attempt to delete a progress report?
Also, please check whether the delete request includes a filterByTk field in the request payload — this is required to identify the record to delete.
Additionally, verify that the primary key field of the Progress Report collection hasn’t been accidentally deleted or modified.
It seems like i cannot modify the record at all:
{“level”:“error”,“message”:“response /api/progressReports:destroy”,“method”:“POST”,“path”:“/api/progressReports:destroy”,“res”:[{“message”:“to do destroy action, filter or filterByTk is required”}],“action”:{“actionName”:“destroy”,“resourceName”:“progressReports”,“params”:{“resourceName”:“progressReports”,“actionName”:“destroy”,“values”:{}}},“status”:500,“cost”:4,“app”:“main”,“reqId”:“b37e96fd-b5ec-4d23-a569-907f84e8c0e4”,“bodySize”:81,“timestamp”:“2025-07-14 13:08:32”}
Modify:
{“level”:“error”,“message”:“response /api/progressReports:update”,“method”:“POST”,“path”:“/api/progressReports:update”,“res”:[{“message”:“to do update action, filter or filterByTk is required”}],“action”:{“actionName”:“update”,“resourceName”:“progressReports”,“params”:{“resourceName”:“progressReports”,“actionName”:“update”,“values”:{}}},“status”:500,“cost”:5,“app”:“main”,“reqId”:“c996ef30-4123-4e12-a29c-73f19334f5a0”,“bodySize”:80,“timestamp”:“2025-07-14 13:37:18”}