FHIR Chat · 500 Error from test.fhir.org/r4 · implementers

Stream: implementers

Topic: 500 Error from test.fhir.org/r4


view this post on Zulip Dave Carlson (Feb 25 2019 at 15:25):

I am updating and testing Swift APIs for R4 and get a 500 error with attempt to use POST instead of GET to perform a simple search for http://test.fhir.org/r4/Patient. This works without error on hapi.fhir.org/baseR4. Should POST be supported? I get this error:

view this post on Zulip Dave Carlson (Feb 25 2019 at 15:25):

[error] (0000000003897FA2){FHIRServer.exe} [0000000003C98FA2] Unknown function at TMethodImplementationIntercept + $37F43D2\r\n(00000000040B0592){FHIRServer.exe} [00000000044B1592] Unknown function at TMethodImplementationIntercept + $400C9C2\r\n(00000000040B2440){FHIRServer.exe} [00000000044B3440] Unknown function at TMethodImplementationIntercept + $400E870\r\n(0000000000049157){FHIRServer.exe} [000000000044A157] Unknown function at __dbk_fcall_wrapper + $2C0F7\r\n(0000000000049A5B){FHIRServer.exe} [000000000044AA5B] Unknown function at __dbk_fcall_wrapper + $2C9FB\r\n(0000000000011576){FHIRServer.exe} [0000000000412576]\r\n(00000000000115C1){FHIRServer.exe} [00000000004125C1]\r\n(0000000003897FA2){FHIRServer.exe} [0000000003C98FA2] Unknown function at TMethodImplementationIntercept + $37F43D2\r\n(00000000038C2839){FHIRServer.exe} [0000000003CC3839] Unknown function at TMethodImplementationIntercept + $381EC69\r\n(00000000038C23D6){FHIRServer.exe} [0000000003CC33D6] Unknown function at TMethodImplementationIntercept + $381E806\r\n(00000000038C57F4){FHIRServer.exe} [0000000003CC67F4] Unknown function at TMethodImplementationIntercept + $3821C24\r\n(0000000000B0DB8A){FHIRServer.exe} [0000000000F0EB8A] Unknown function at TMethodImplementationIntercept + $A69FBA\r\n(0000000003ED8101){FHIRServer.exe} [00000000042D9101] Unknown function at TMethodImplementationIntercept + $3E34531\r\n(0000000003ECF065){FHIRServer.exe} [00000000042D0065] Unknown function at TMethodImplementationIntercept + $3E2B495\r\n(0000000003ECB754){FHIRServer.exe} [00000000042CC754] Unknown function at TMethodImplementationIntercept + $3E27B84\r\n(0000000003EEA016){FHIRServer.exe} [00000000042EB016] Unknown function at TMethodImplementationIntercept + $3E46446\r\n(000000000063C3A9){FHIRServer.exe} [0000000000A3D3A9] Unknown function at TMethodImplementationIntercept + $5987D9\r\n(000000000063DD1E){FHIRServer.exe} [0000000000A3ED1E] Unknown function at TMethodImplementationIntercept + $59A14E\r\n(000000000055CCB9){FHIRServer.exe} [000000000095DCB9] Unknown function at TMethodImplementationIntercept + $4B90E9\r\n(000000000055ACCA){FHIRServer.exe} [000000000095BCCA] Unknown function at TMethodImplementationIntercept + $4B70FA\r\n(000000000055EC7B){FHIRServer.exe} [000000000095FC7B] Unknown function at TMethodImplementationIntercept + $4BB0AB\r\n(000000000055DF2B){FHIRServer.exe} [000000000095EF2B] Unknown function at TMethodImplementationIntercept + $4BA35B\r\n(000000000012E883){FHIRServer.exe} [000000000052F883] Unknown function at TMethodImplementationIntercept + $8ACB3\r\n(000000000001216D){FHIRServer.exe} [000000000041316D]\r\n(00000000000074D4){KERNEL32.DLL} [00007FFB48AA84D4] BaseThreadInitThunk + $14\r\n(000000000006D851){ntdll.dll } [00007FFB48BDE851] RtlUserThreadStart + $21\r\n"

view this post on Zulip Grahame Grieve (Feb 25 2019 at 23:25):

I expect it to work. I will investigate.

view this post on Zulip Grahame Grieve (Mar 03 2019 at 20:49):

it looks like you are posting directly to http://test.fhir.org/r4/Patient

view this post on Zulip Grahame Grieve (Mar 03 2019 at 20:49):

The spec says:

view this post on Zulip Grahame Grieve (Mar 03 2019 at 20:50):

POST  [base]/[type]/_search{?[parameters]{&_format=[mime-type]}}
Content-Type: application/x-www-form-urlencoded

param1=value&param2=value

view this post on Zulip Grahame Grieve (Mar 03 2019 at 20:50):

_search

view this post on Zulip Dave Carlson (Mar 07 2019 at 01:35):

Grahame, after tracing the query I was using GET and the 500 error is returned by this search:

view this post on Zulip Dave Carlson (Mar 07 2019 at 01:35):

http://test.fhir.org/r4/Patient?_count=50&_sort=family,given,birthdate&_format=json

Unknown sort parameter name \"family,given,birthdate\""

view this post on Zulip Dave Carlson (Mar 07 2019 at 01:36):

This works on HAPI and the use of multiple sort rules appears valid?

view this post on Zulip Grahame Grieve (Mar 07 2019 at 01:52):

fixing up sort is on my todo list.


Last updated: Apr 12 2022 at 19:14 UTC