Written by

Question Ali Chaib · Jan 9

404 Not Found when sending FHIR bundle

Everytime I try to send a POST FHIR bundle I'm getting the following response: 404 Not Found. I'm not really sure why, although it works fine with a GET!

This is an example: 

 Response:

It might be something related to request path but not really sure.

And this is the HTTP service I'm using 

I tried this with Postman and it's working as expected

Am I missing something ? 

Product version: IRIS 2023.3

Comments

Ali Chaib · Jan 17

The problem was that the built in code was messing with the URL were using which was causing this error every time... Try to use a tool to capture the URL (in my case sometime it was sending "/" and sometimes it was removing the last part of the URL depending on the values in URL and path request )

I had to extend the process and the operation and slightly modify them to make this work:

Custom.NewProcess1 Extends HS.FHIR.DTL.Util.HC.SDA3.FHIR.Process

Custom.NewOperation1 Extends HS.FHIRServer.Interop.HTTPOperation

0