[Planner] Update task / task details return 500 'Unable to parse body as JObject.' but the update succeeds
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 54/100
- Tipo de issue
- Error
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- javascript, python
- Área
- api, backend-api-design
Línea de trabajo
Start by locating the Planner connector response policies for PATCH /planner/tasks/{id} and /planner/tasks/{id}/details; the error paths in the logs may help find the failing response handling. Check how each operation handles Graph's 204 response with an empty body, then reproduce both updates and verify they return 2xx without reporting a failure after the changes are saved.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
What happened?
Planner update operations return HTTP 500 Unable to parse body as JObject. even though the update succeeds in Microsoft Graph.
Affected operations (Planner connector):
PATCH /v2/v1.0/planner/tasks/{id}(update task)PATCH /v1.0/planner/tasks/{id}/details(update task details)
Graph returns 204 No Content with an empty body for these PATCH calls. It looks like the connector response policy tries to parse that empty body as a JSON object and fails. A read-back after the 500 shows the title and description changes were applied.
Because the write lands but the caller sees a 5xx, retries are unsafe. The Python SDK retries on 5xx, so the same PATCH can be sent several times.
What did you expect to happen?
A 2xx response (for example 200 with the updated task, or 204 with no body) when Graph accepts the update.
Steps to reproduce
- Create a Connector Namespace with a consented Planner connection.
- Create a task:
POST {runtimeUrl}/v2/beta/planner/taskswithplanId,title. Returns 201. - Update it:
PATCH {runtimeUrl}/v2/v1.0/planner/tasks/{taskId}withIf-Match: <etag>and body{"title":"updated"}.- Result: 500
Unable to parse body as JObject.
- Result: 500
- Update details:
PATCH {runtimeUrl}/v1.0/planner/tasks/{taskId}/detailswithIf-Match: <etag>and body{"description":"updated"}.- Result: 500, same message.
GETthe task and its details. Both changes were saved.- For comparison, the same PATCH sent directly to Microsoft Graph returns
204with an empty body.
Version / build
Connector Namespace 2026-05-01-preview, West Central US. Also reproduced through azure-connectors Python SDK 0.5.0b1 (PlannerClient.update_task_async, update_task_details_async).
Relevant logs or output
# PATCH /v2/v1.0/planner/tasks/{id}
HTTP 500
{
"error": {
"code": 500,
"source": "<namespace>.common.logic-westcentralus.azure-apihub.net",
"clientRequestId": "<redacted>",
"message": "Unable to parse body as JObject.",
"path": "choose[3]\\when[1]\\choose\\otherwise\\choose\\when[1]",
"policyId": ""
}
}
# PATCH /v1.0/planner/tasks/{id}/details
HTTP 500
{ "error": { "code": 500, "message": "Unable to parse body as JObject.", "path": "choose[5]\\when[1]\\...", "policyId": "" } }
# Direct Graph PATCH on the same task
HTTP 204 (empty body)
- Lenguaje dominante
- JavaScript
- Estrellas
- 20
- Forks
- 7
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de Azure/Connectors
-
bug portal
Dificultad 2/5 1-3 horas Aptitud para principiantes 67/100
Azure/Connectors#178 ·
-
bug portal
Dificultad 3/5 1-2 días Aptitud para principiantes 58/100
Azure/Connectors#179 ·
-
[Portal] Salesforce record-created trigger accepts an object missing required CreatedDate fieldAbierto
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
Azure/Connectors#177 ·
-
bug portal
Dificultad 4/5 3-5 días Aptitud para principiantes 43/100
Azure/Connectors#175 ·
-
Dificultad 3/5 1-2 días Aptitud para principiantes 62/100
Azure/Connectors#174 ·
Todos los issues de Azure/Connectors
Issues similares
-
对信息编解码工具建议Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 64/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 79/100
Los mantenedores suelen responder en 1 día
-
good first issue tests
Dificultad 1/5 1-3 horas Aptitud para principiantes 68/100
Los mantenedores suelen responder en 1 día
-
bug role: dev-lead
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
briangwalker/TrussExplorer#424 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 80/100
eliasstravik/herdr-projects#1032 ·