Error following CRUD doc at Firely

35 views
Skip to first unread message

Mitch Olgren

unread,
Mar 18, 2021, 3:53:48 PM3/18/21
to FHIR DOTNET
I followed the example to create a patient but I get the error "Operation POST on Patient expected a body of type Patient but a bundle was returned."  How do I resolve this?

Mirjam Baltus

unread,
Mar 19, 2021, 5:37:20 AM3/19/21
to FHIR DOTNET

The error indicates that the server sends back a Bundle resource, which is not the correct answer for this interaction. My guess - without seeing your code - would be that the server implementation is not correct.
If you do the same request with Postman or other HTTP tool, does the server then respond with a Bundle as well?
If it responds correctly, with a Patient that was created, could you post your code here, so we can take a look?

Op donderdag 18 maart 2021 om 20:53:48 UTC+1 schreef mdowi...@gmail.com:
Reply all
Reply to author
Forward
0 new messages