Snapshot API Creating a local snapshot requires a dashboard

Hi, I’m trying to take a snapshot of my dashboard using the snapshot api as shown here: HTTP Snapshot API | Grafana documentation

It returns: Creating a local snapshot requires a dashboard

I found something about the issue here: Snapshots cannot be created via API without setting `id` to an arbitrary value. · Issue #58200 · grafana/grafana · GitHub

The suggested solutuion is setting
"id" :

to an arbitrary number.

The “Creating a local snapshot requires a dashboard” issue is now gone but I only get this:

What am I doing wrong? Here is my request:

{
      "dashboard": {
        "id": 1,
        "editable":false,
        "hideControls":true,
        "nav":[
        {
          "enable":false,
        "type":"timepicker"
        }
        ],
        "rows": [
          {

          }
        ],
        "style":"dark",
        "tags":[],
        
        "time":{
        },
        "timezone":"browser",
        "title":"Home",
        "version":5
        },
      "expires": 3600
    }

POST to /api/snapshots

Thanks in advance