我收到这个错误。
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"]}%
我在哪里可以找到这里提到的这个dashboardID 或list_id? https://docs.datadoghq.com/dashboards/guide/dashboard-lists-api-v1-doc/?tab=curl#get-items-of-a-dashboard-list
我使用“title”:“Non Prod”作为仪表板 ID,现在出现此错误:
<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
此外,使用以下命令我尝试验证我的 api-key 但得到了同样的错误:
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