Skip to main content
Question

.NET Core restClient.Authorize "A possible object cycle was detected."

  • June 1, 2022
  • 2 replies
  • 296 views

Platform is C# Blazor .net core:

When requesting authorization for a RestClient an exception occurs from System.Text.Json.JsonException "A possible object cycle was detected."

I created a winform app and it works great but when implementation is in Blazor project the above exception occurs.


TIA,

Richard

2 replies

  • Author
  • New Participant
  • June 1, 2022

Well created a test project using .net core 5 winforms and it works fine.

So this led to further testing and it seems RingCentral SDK doesn't like dependency injection.


Could you please provide a sample project to reproduce the issue? Especially how to use dependency injection to trigger the issue. Thanks