0

I am getting this error.

command:    curl -X GET \
    "https://api.datadoghq.com/api/v1/dashboard/lists/manual/${list_id}/dashboards?api_key=${api_key}&application_key=${app_key}"
    
Error:         {"errors":["The value provided for parameter 'dashboard_list_id' is invalid"]}%   

Where can I find this dashboardID or list_id mentioned here? https://docs.datadoghq.com/dashboards/guide/dashboard-lists-api-v1-doc/?tab=curl#get-items-of-a-dashboard-list

I used "title":"Non Prod" as dashboard ID and now I am getting this error:

<html><body><h1>400 Bad request</h1>
Your browser sent an invalid request.
</body></html>
curl: (3) URL using bad/illegal format or missing URL

Furthermore, using the following command I tried to validate my api-key but got same error:

curl -X GET "https://datadoghq.com/api/v1/validate" \ -H "Accept: application/json" \ -H "DD-API-KEY: xyz" 
  
curl: (3) URL using bad/illegal format or missing URL

                           
TylerH
  • 20,799
  • 66
  • 75
  • 101
Ashish Karpe
  • 5,087
  • 7
  • 41
  • 66

0 Answers0