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

[500 Internal Server Error][No interceptor provided a value for pointcuts: [STORAGE_PARTITION_IDENTIFY_ANY, STORAGE_PARTITION_IDENTIFY_READ]] #6665

Open
mhryrehman opened this issue Jan 30, 2025 · 0 comments

Comments

@mhryrehman
Copy link

NOTE: Before filing a ticket, please see the following URL:
https://github.com/hapifhir/hapi-fhir/wiki/Getting-Help

Describe the bug

I am trying to export data using the $export operation via the following endpoint:
{Base-URL}/fhir/Patient/$export
The request successfully returns a Job ID in the response header "Content-Location", which indicates the job has started. However, when making a GET request to the URL provided in "Content-Location", the request fails with the following 500
Internal Server Error:
{
"diagnostics": "Too many errors: 4. Last error msg was HAPI-1319: No interceptor provided a value for pointcuts: [STORAGE_PARTITION_IDENTIFY_ANY, STORAGE_PARTITION_IDENTIFY_READ]"
}

To Reproduce
Steps to reproduce the behavior:

  1. Initiate the export process by sending a request to: GET {Base-URL}/fhir/Patient/$export
  2. This request returns a Job ID in the "Content-Location" response header.
  3. Retrieve the export status by making a GET request to the returned URL: GET {Base-URL}/fhir/$export-poll-status?_jobId=
  4. Example:
  5. GET {Base-URL}/fhir/$export-poll-status?_jobId=1e6ed0df-3ed4-402d-a067-ebe73173c7b6
  6. Instead of returning a list of downloadable file links, the request fails with a 500 Internal Server Error and logs the HAPI-1319 error.

Expected behavior

The polling request ($export-poll-status) should return a response containing downloadable file links instead of an error.

Screenshots

Image

Environment (please complete the following information):

  • HAPI FHIR Version : 7.6.0
  • OS: [e.g. Windows]

Additional context

  • It appears that partitioning is enabled, but the system does not have an appropriate partitioning interceptor registered to handle the required pointcuts (STORAGE_PARTITION_IDENTIFY_ANY, STORAGE_PARTITION_IDENTIFY_READ).
  • Disabling partitioning also did not resolve the issue.
  • Please confirm if an additional configuration step is needed to ensure the bulk export polling process works correctly.
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