← Back to team overview

dhis2-devs team mailing list archive

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

 

Hi

Could you please share the exception log? I need to know what is not being
caught

--
Morten

On Wed, Jul 22, 2015 at 5:45 AM, Lorill Crees <lcrees@xxxxxxxxxx> wrote:

> 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
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>

Follow ups

References