Problem with api with grafana version v8.5.13 and powerhell script

Hi,

I have an editor profile on Grafana Version 8.5.13 on Ubuntu 20.04.5 LTS (Focal Fossa), i run a powershell script on my windows 10 like this :

$HeadersSrc = @{
“Authorization” = “Bearer myToken”
“Content-Type” = “application/json”
}

$dashboardJson = Get-Content “C:\Temp\toto.json” -Raw
$response = Invoke-RestMethod -Uri “MYGRAFANAl/api/dashboards/db” -Body $dashboardJson -Method Post -Headers $HeadersSrc

I want to add a simple dashboard on Grafana and i have this message :

Invoke-RestMethod : {“message”:“Access denied to save dashboard”,“traceID”:“00000000000000000000000000000000”}

OR

this one :
Invoke-RestMethod : {“message”:“bad request data”,“traceID”:“00000000000000000000000000000000”}

Is it a problem of my account or something else ?
Here the json file i use :
{
“dashboard”: {
“id”: null,
“uid”: null,
“title”: “Production Overview”,
“tags”: [ “templated” ],
“timezone”: “browser”,
“schemaVersion”: 16,
“version”: 0,
“refresh”: “25s”
},
“folderId”: 0,
“folderUid”: 0,
“message”: “Made changes to xyz”,
“overwrite”: false
}
Thanks.
Will