function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

Specific dashboard returns error when queried via Analytics API

Hey all,

I'm trying to use the Analytics API to call into some dashboards to get metadata on some components, using the below endpoint:


When I call one of my dashboards, all is well and I get the data.

When I call the other, I get a 500 Server Error with the following content:

        "message": "An unexpected error occurred. Please include this ErrorId if you contact support: 1934229877-168288 (-1719484254)",
        "errorCode": "UNKNOWN_EXCEPTION"

I don't have the necessary service level to open a case with support about APIs and Integration so I'm hoping someone here has seen specific dashboards fail in the past and has resolved why.

We use the reports functionality of the api heavily and have never seen an issue like this one before.

SonamSonam (Salesforce Developers) 

Hi Jeremy,

This looks like an internal error: could you please mail me your ORG ID and date/time when this issue was seen at  the address:
sraju at salesforce dot com