Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Talend Cloud AWS EU Scheduled Outage: Starting Tues 26 May 21:00 CEST with expected completion Wed 27 May 01:00 CEST
cancel
Showing results for 
Search instead for 
Did you mean: 
Srinivasan-Nesamani
Contributor
Contributor

How to reload a specific dataset within Data Integration tasks

Hi,

I'm currently trying to reload a particular dataset in Qlik Data Integration tasks using the "Request Dataset Reload" REST API.

However, when I call this endpoint, all datasets within the task are getting reloaded instead of only the specified dataset.

Is there any way to trigger the reload for a specific dataset within a task using the REST API?

 

End-point used: https://{tenant-id}.us.qlikcloud.com/api/v1/di-projects/{projectId}/di-tasks/{dataTaskId}/actions/request-reload

Request Body used: (Below is triggering full-load for all datasets)

{
  "selectedDatasets": [
    {
        "name": "wd_vas_codes"
    }
  ]
}

 

Additionally while using the below request body, i'm getting error

{
  "selectedDatasets": [
    {
        "datasetId": "wd_vas_codes"
    }
  ]
}
 
Received Error:
"errors": [
        {
            "code": "DATA-APP-DESIGN-FAILED-TO-RELOAD-DI-TASK-MISSING-DATASETS",
            "title": "Failed to reload datasets",
            "status": 404,
            "detail": "One or more datasets were not found: 'wd_vas_codes'.",
            "meta": {
                "missingDatasets": "wd_vas_codes",
                "code": "DATA-APP-DESIGN-MSG-FAILED-TO-RELOAD-DI-TASK-MISSING-DATASETS"
            },
 
I've checked the dataset ID, and it is in the correct format.
Labels (3)
3 Replies
Sunilsahu_345
Contributor III
Contributor III

From my experience with Qlik Data Integration APIs, the request-reload endpoint currently operates at the task level, not at a granular dataset level—even though the selectedDatasets parameter is present in the request body.

A couple of important points to check:

  1. The "name" field in selectedDatasets must exactly match the internal dataset name defined in the task (case-sensitive). Even then, partial reload behavior is not consistently supported across all task types.
  2. The "datasetId" you’re using may not be the actual internal identifier expected by the API. In most cases, this value differs from the display name and must be retrieved via metadata APIs (like listing datasets under the DI task).
  3. As of now, Qlik DI generally does not support reloading a single dataset independently within a task via this endpoint. The API tends to trigger a full task reload regardless of dataset filtering.

Workarounds you might consider:

  • Splitting datasets into separate tasks if selective reload is required frequently
  • Using transformation logic or filters to limit data processing instead of full reloads
  • Checking with Qlik Support, as this behavior may vary by tenant version or may be on the roadmap
Srinivasan-Nesamani
Contributor
Contributor
Author

Thanks for your suggestion, @Sunilsahu_345 . However, the documentation mentions that selective datasets can be reloaded:
https://qlik.dev/apis/rest/di-projects/#post-api-v1-di-projects-projectId-di-tasks-dataTaskId-action...

BTW, I'll proceed with reaching out to the Qlik team through a support case.

mamta25
Contributor
Contributor

The issue is happening because the API does not recognize the dataset name when you use name, so it ends up running a full reload of all datasets. When you use datasetId, it fails because Qlik expects the internal dataset ID, not the dataset name like wd_vas_codes. You need to first get the task details, find the actual dataset ID from the response, and use that in your request. In some cases, even after using the correct ID, Qlik still reloads everything because partial dataset reload is not supported for every task type.