Error submitting task updates

When trying to update/create a task. I am able to save the name and description but unable to save the due date. This is happing when I run it through the recordstore.

In the network call I get the error

  1. detail: “Notice: SessionHandler::gc(): ps_files_cleanup_dir: opendir(/var/lib/php/sessions) failed: Permission denied (13)”
  2. hydra:description: “Notice: SessionHandler::gc(): ps_files_cleanup_dir: opendir(/var/lib/php/sessions) failed: Permission denied (13)”

Here is the payload

{“operationName”:“saveRecord”,“variables”:{“input”:{“module”:“tasks”,“attributes”:{“module_name”:“Tasks”,“object_name”:“Task”,“id”:“a0bb15a6-2562-8f9f-4115-67f618fe100b”,“name”:“This is a ross test”,“date_entered”:“2025-04-09 06:51:41”,“date_modified”:“2025-04-09 06:59:24”,“modified_user_id”:“1”,“modified_by_name”:{“user_name”:“admin”,“id”:“1”},“created_by”:“1”,“created_by_name”:{“user_name”:“admin”,“id”:“1”},“description”:“To test the task UP”,“deleted”:false,“assigned_user_id”:“1”,“assigned_user_name”:{“user_name”:“admin”,“id”:“1”},“status”:“Not Started”,“date_due_flag”:false,“date_due”:“2025-04-24”,“time_due”:“”,“date_start_flag”:false,“date_start”:“”,“parent_type”:“”,“parent_name”:{“id”:“”,“name”:“”},“parent_id”:“”,“contact_id”:“1dcaad64-7f83-171a-082c-67e69e682a82”,“contact_name”:{“last_name”:“Sed laborum deserunt Est deserunt culpa a”,“id”:“1dcaad64-7f83-171a-082c-67e69e682a82”},“contact_phone”:“”,“contact_email”:“”,“priority”:“”},“_id”:“a0bb15a6-2562-8f9f-4115-67f618fe100b”}},“query”:“mutation saveRecord($input: saveRecordInput!) {\n saveRecord(input: $input) {\n record {\n attributes\n favorite\n id\n _id\n module\n acls\n __typename\n }\n __typename\n }\n}”}

1 Like

It’s there in the error message - permission denied on your session directory. Can you check ownerships and permissions there?

Although it’s strange because I would expect that to cause problems with sessions - forced log outs, for example - not on saving data.

The weird thing is it it saves all the other fields its ONLY the due date that is not being saved. You can see in the payload. What does the date stuff go through?

I would expect the entire record to fail not certain fields.