Para corregir el error que dice: System.Text.Json.JsonException: A possible object cycle was detected. This can either be due to a cycle or if the object depth is larger than the maximum allowed depth of 32. Consider using ReferenceHandler.Preserve on JsonSerializerOptions to support cycles. Imagino que en español el error sería: System.Text.Json.JsonException: se detectó un posible […]
Corrigiendo el error “A possible object cycle was detected” en distintas versiones de ASP.NET Core — Felipe Gavilán