Hello there - I'm trying to use the Saved Objects "import" feature, but I keep getting 415 response codes. I used the export feature to export a dashboard to a ndjson file and then I try to push that same dashboard back to the cluster but it fails. I have tried with + without the headers "Content-Type": "application/ndjson" [or] "application/x-ndjson"
but those don't seem to help.
Following the documentation here, I tried to run the first post and can't even get that to work. It should be noted that in the provided example, the only header set is -H "kbn-xsrf: true"
, nothing about application-type.
Does anyone have an idea of how to fix this 415 issue?