Hi,
We have an automation in place that updates the plannedDuration of a task. However, when we update only the plannedDuration, the description field gets cleared automatically.
To prevent this, we also include the existing description in the update request.
The problem is that we sometimes receive the following error when updating a task:
[400] Failed to read parameter "GeneralTaskForm model" from the request body as JSON.
This seems to happen especially when the description text contains quotes (e.g., " or typographic quotes like “ or „).
We are using the exact same description text that we previously retrieved from the task via the API.
Do you have any idea what might be causing this issue, or how we can ensure the description is safely passed in the update request?
For Example:
[
{
„url“: „v1/tasks/28407f20-97df-4e49-b0ee-5e2825f4ddbf“,
„body“: „{ "name": "Demo „Auftrag“ “TEST”",\n"plannedDuration": "300",\n"dueOn":"",\n"description": "
gesetzt werden anstelle von "Angebot versendet".
„method“: „PUT“,
„headers“: [
{
„key“: „Content-Type“,
„value“: „application/json“
}
]
}
]
