Stream: dotnet
Topic: root object has no type indication
Mohamed Omar (Dec 16 2021 at 03:06):
Hello all
I am trying to post a Patient object and getting the following ("Invalid operation exception")
{“Root object has no type indication (resourceType) and therefore cannot be used to construct an FhirJsonNode. Alternatively, specify a nodeName using the parameter.”}
I am able to post the same generated json {ToJson()} using postman with no problems. using R4 client Fire.ly
Thanks for your help
Vassil Peytchev (Dec 16 2021 at 03:55):
Can you post the patient object for us to see?
Ewout Kramer (Dec 16 2021 at 09:29):
It seems the data misses the required resourceType
somehow.
Brian Postlethwaite (Dec 17 2021 at 02:08):
Sample of the content you're posting, where are you sending it and where is the message coming from?
Last updated: Apr 12 2022 at 19:14 UTC