-
Notifications
You must be signed in to change notification settings - Fork 104
Description
Hello,
I'm trying to use the endpoint to delete multiple tasks by some criteria, but I get the following error:
curl -X 'DELETE' \
'https://<host>/taskana/api/v1/tasks?por-type=KNR&por-value=1380001' \
-H 'accept: application/hal+json' \
-H 'Authorization: <Authorization>'
"message" : "\n### Error updating database. Cause: org.postgresql.util.PSQLException: ERROR: cannot execute DELETE in a read-only transaction\n### The error may exist in pro/taskana/task/internal/AttachmentMapper.java (best guess)\n### The error may involve pro.taskana.task.internal.AttachmentMapper.deleteMultipleByTaskIds-Inline\n### The error occurred while setting parameters\n### SQL: DELETE FROM ATTACHMENT WHERE TASK_ID IN( ? )\n### Cause: org.postgresql.util.PSQLException: ERROR: cannot execute DELETE in a read-only transaction",
This issue was already fixed for other endpoints like the one in the following issue: #2292, but not for /taskana/api/v1/tasks endpoint
Can you take a look?
Best regards,
Nina
Metadata
Metadata
Assignees
Labels
Type
Projects
Status