Quantcast
Channel: DHIS2 Community - Latest topics
Viewing all articles
Browse latest Browse all 1900

Fetch data from SQL View

$
0
0

Hi all,

I have created a View in my PostgreSQL DHIS2 database. This is because I am accessing some protected tables in the query.
Then I have created a SQL View from DHIS2 to fetch records from the SQL View I created.
When I try to access the endpoint api/sqlViews/view_id/data to to fetch the data I get this error.

{
“httpStatus”: “Internal Server Error”,
“httpStatusCode”: 500,
“status”: “ERROR”,
“message”: “An unexpected error has occured. Please contact your system administrator”
}

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 1900

Trending Articles