← Back to team overview

dhis2-devs team mailing list archive

Re: Unable to create dashboards on latest revision of trunk.

 

Hi Mansi,

is the request you included in the email the same as you used when
attempting to POST? If you look under dashboardItems > chart > id you have
"chartId", which is not a valid UID - this should be a reference to an
existing chart UID. Try changing that and see if it helps.


{
    "displayName": "AFGHANISTAN",
    "name": "AFGHANISTAN",
    "dashboardItems": [
        {
            "chart": {
                "id": "chartId"
            }
        }
    ],

regards,

Lars

Follow ups

References