← Back to team overview

dhis2-devs team mailing list archive

Error when calling SQLview via the api

 

Hi Devs

I experiencing this error when trying to call a sqlview via the API.

http://localhost:9090/dhis/api/sqlViews/UID/data.json?criteria=ou_uid:UID&criteria=period_iso:201511

409,"status":"ERROR","message":"Criteria params are invalid: [ou_uid,
period_iso]"}


the columns used for the criteria filtering are in the sqlview. Am i
doing something incorrectly.


Regards

Pooben

-- 


*This message and any attachments are subject to a disclaimer published at 
http://www.hisp.org/policies.html#comms_disclaimer 
<http://www.hisp.org/policies.html#comms_disclaimer>.  Please read the 
disclaimer before opening any attachment or taking any other action in 
terms of this electronic transmission.  If you cannot access the 
disclaimer, kindly send an email to disclaimer@xxxxxxxx 
<disclaimer@xxxxxxxx> and a copy will be provided to you. By replying to 
this e-mail or opening any attachment you agree to be bound by the 
provisions of the disclaimer.*