lastUpdated and lastUpdatedDuration parameters no longer working for GET /api/dataValueSets in v2.43

On the demo instance for the new 2.43 release, a GET request for the /api/dataValueSets endpoint returns a 409 error with “At least one period, start/end dates, last updated or last updated duration must be specified” when lastUpdated and lastUpdatedDuration parameters are used in the request. For example, Login app | DHIS2.

This worked fine in the 2.42 release. For example, Login app | DHIS2. The docs (and error message) still say these parameters are supported and I didn’t see anything in the release notes indicating this was an intentional change.

Hi @abbybeeler ,
We will take a look at it. The datavalue sets API has been completely rewritten from the ground up in 2.43 . We may have missed something. Once we know more we will update you. Thanks for your report.

Best regards,
Jason

Hi again @abbybeeler ,
It was defintely a bug. Thanks for finding and reporting it. Fixed now in version 2.43 and it should be available in the next patch release.

Best regards,
Jason

2 Likes

Hi Jason,

Thanks for your work here. I don’t see the fix in Patch 2.43.1 Release Note | dhis2-releases. Do you know when it should be available?

Abby

Looks like it didn’t make 43.1. 43.2 is not scheduled for some time as far as I know. Maybe @Karoline knows more?