You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to create a simple dashboard with just one widget and keep getting an error:
Error: failed to create kibana saved dashboard: &{0xc4201ad030} error: POST API call to https://my_kibana_domain/api/saved_objects/dashboard?overwrite=true failed 400 Bad Request. Code: 400, Body: {"error":{"root_cause":[{"type":"illegal_argument_exception","reason":"request [/api/saved_objects/dashboard] contains unrecognized parameter: [overwrite]"}],"type":"illegal_argument_exception","reason":"request [/api/saved_objects/dashboard] contains unrecognized parameter: [overwrite]"},"status":400}, Message: Could not create dashboard
The same error is thrown in both cases:
The dashboard doesn't exist in Kibana
The dashboard exists in Kibana, yet ID is not appended to URL
Looking at the API although the overwrite parameter is optional and by default set to true, it appears that the id of the dashboard to be overwritten is missing from the URL. Looking at the source code the parameter is appended regardless creating a URL that is not recognised by API. Please verify as I am not able to make any progress.
The text was updated successfully, but these errors were encountered:
@KasiaBM-CC hi there! I had this exact issue so I dug into the provider and analyzed the REST requests. It turns out that response is coming from Elasticsearch, not Kibana. This happened to me because they're both on the same host under different endpoints (standard AWS Elasticsearch Service deployment).
I changed kibana_uri to https://ELASTICSEARCH_HOST/_plugin/kibana/ and now it's working! Hope this helps 👍
Trying to create a simple dashboard with just one widget and keep getting an error:
Error: failed to create kibana saved dashboard: &{0xc4201ad030} error: POST API call to https://my_kibana_domain/api/saved_objects/dashboard?overwrite=true failed 400 Bad Request. Code: 400, Body: {"error":{"root_cause":[{"type":"illegal_argument_exception","reason":"request [/api/saved_objects/dashboard] contains unrecognized parameter: [overwrite]"}],"type":"illegal_argument_exception","reason":"request [/api/saved_objects/dashboard] contains unrecognized parameter: [overwrite]"},"status":400}, Message: Could not create dashboard
The same error is thrown in both cases:
Looking at the API although the overwrite parameter is optional and by default set to true, it appears that the id of the dashboard to be overwritten is missing from the URL. Looking at the source code the parameter is appended regardless creating a URL that is not recognised by API. Please verify as I am not able to make any progress.
The text was updated successfully, but these errors were encountered: