Skip to content

Improve error message for bulk export in FHIR batches & transactions #1459

Open
@CaitlinV39

Description

User story
Currently, export requests in batches and transactions will return a 400 because the Accept and Prefer headers cannot be provided. The error message specifies: "Value supplied for the "Accept" header is not supported.".

Instead, return Not Supported and update the error message to explain that export operations are not supported in batches and transactions.

Acceptance criteria
If users try to put an export request in a batch or transaction, it will fail with an appropriate error message.

Metadata

Assignees

No one assigned

    Labels

    Area-BulkExportArea related to bulk export.Good First IssueUp for grabsThe issue require minimal context and is well-suited for new contributors.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions