← Back to team overview

dhis2-devs team mailing list archive

Attempting to create data element with non-unique shortname via Web API throws exception

 

Hi,

If attempting to create a data element with a non-unique shortname via the
Web API in 2.20 build 19682, an exception is thrown instead of the error
and message being wrapped in JSON. This is breaking our app that now
expects JSON responses for all API calls as per the documentation for 2.20.

Is this something that can be wrapped in a parseable message?

Thanks,

Lorill

Follow ups