cancel
Showing results for 
Search instead for 
Did you mean: 

Using the /dashboards/admin gives a internal error 500

Dieter
7 - Data Storage
7 - Data Storage

I am trying to pull data on all of the dashboards that are in sisense. I am using the /dashboards/admin endpoint: https://sisense.dev/reference/rest/v1.html?platform=linux&spec=L2022.3.x#/admin/getAllDashboards

But when I call this endpoint I usually get an "Internal Server Error" with status 500. 

Is this expected behaviour? Is there a strategy I can avoid this error and still get the data?

2 REPLIES 2

harikm007
12 - Data Integration
12 - Data Integration

Hi @Dieter ,

I'm not sure what's the reason for getting status 500 (may be its good to contact Sisense Support). But I tried from my end and I'm getting dashboard JSON as expected with status 200. Since I have lots of dashboards, I tried this endpoint with 'dashboardid' parameter.

If you are the owner of all required dashboards, an alternate endpoint is '/dashboards'

https://sisense.dev/reference/rest/v1.html?platform=linux&spec=L2022.3.x#/dashboards/getOwnedDashboa...

-Hari

hburkett
Sisense Team Member
Sisense Team Member

Hi @Dieter,

As mentioned, this is not an expected response.
I would first check the galaxy service logs and see if any particular error message is being returned -- possibly bad application database record.

If nothing found, I would recommend opening a support ticket so further investigation can be performed.