You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
After deleting a bulk data export, the server will respond to the status endpoint with a HTTP 202 and a status header describing the export as cancelled. Per the spec, it should instead return HTTP 404 not found.
Following the delete request, when subsequent requests are made to the polling location, the server SHALL return a 404 Not Found error and an associated FHIR OperationOutcome in JSON format.
To Reproduce
Steps to reproduce the behavior:
Run a HAPI 7.0 server
Initiate a bulk data export at either [fhir base]/Patient/$export , [fhir base]/Group/[id]/$export, or [fhir base]/$export
Describe the bug
After deleting a bulk data export, the server will respond to the status endpoint with a HTTP 202 and a status header describing the export as cancelled. Per the spec, it should instead return HTTP 404 not found.
From https://build.fhir.org/ig/HL7/bulk-data/export.html#bulk-data-delete-request
To Reproduce
Steps to reproduce the behavior:
[fhir base]/Patient/$export
,[fhir base]/Group/[id]/$export
, or[fhir base]/$export
Content-Location
header in the responseThis can also be seen with the Inferno Bulk Data test kit pointing to a HAPI server: https://github.com/inferno-framework/bulk-data-test-kit
Expected behavior
Response should be HTTP 404 not 202
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: