Forum Discussion

Dieter's avatar
Dieter
Data Storage
08-03-2022

Using the /dashboards/admin gives a internal error 500

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

Replies have been turned off for this discussion
  • harikm007's avatar
    harikm007
    Data Warehouse

    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/getOwnedDashboards

    -Hari

  • Anonymous's avatar
    Anonymous

    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.