Closed grzegorz-ogrodowski closed 3 days ago
Thanks for raising this @grzegorz-ogrodowski
I believe the code here should already be handling this by normalizing the content type as appropriate so as to handle application/problem+json
as application/json
.
Any chance you can confirm if this behavior is not happening on your end? Are you calling the serializer in specific way?
Ok, It works. I used ParseNodeFactoryRegistry and I get proper result.
Topic can be closed, thank you for help
Hi, I think there is a need to add support for "application/problem+json" content type. There is a case when results come from API in json format and has "application/problem+json" content type. jsonParseNodeFactory throws error: "expected a "application/json content type".
As a workaround I wrote my own JsonParseNodeFactory, but I think it should be part of Kiota framework.