Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bulk Export requests on non-existent Patient or Group resources generate 500 errors instead of 404 errors #4886

Closed
michaelabuckley opened this issue May 15, 2023 · 1 comment

Comments

@michaelabuckley
Copy link
Contributor

Describe the bug

Invoking /Group/abc/$export or /Patient/$export?patient=abc when the resources Group/abc and Patient/abc do not exists will start a batch job that fails with a 500 error. We would expect the request to fail with a 404.

Expected behavior

Throw "not found 404" when the target of a bulk export does not exist.

@michaelabuckley
Copy link
Contributor Author

Fixed in #4890

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant