aspnetcore-webhooks-sample icon indicating copy to clipboard operation
aspnetcore-webhooks-sample copied to clipboard

deserializtion of notifications fails because no deserialization provider is registered

Open baywet opened this issue 1 year ago • 0 comments

here https://github.com/microsoftgraph/aspnetcore-webhooks-sample/blob/9be538d386f941ecfa675c902cb596ae42d7a8ea/src/GraphWebhooks/Controllers/ListenController.cs#L76 and there https://github.com/microsoftgraph/aspnetcore-webhooks-sample/blob/9be538d386f941ecfa675c902cb596ae42d7a8ea/src/GraphWebhooks/Controllers/LifecycleController.cs#L54

The following line needs to be added

ApiClientBuilder.RegisterDefaultDeserializer<JsonParseNodeFactory>();

baywet avatar May 03 '24 18:05 baywet