Error when exporting saved objects

I'm getting the following error when attempting to export saved objects:

{
  "statusCode": 400,
  "error": "Bad Request",
  "message": "[request body.attributes]: expected value of type [object] but got [undefined]"
}

I've tried exporting by ids and by type. Here's my request to export by type:

POST /s/***/api/saved_objects/export HTTP/1.1
Authorization: Basic ***
kbn-xsrf: true
Content-Type: application/json; charset=utf-8
Host: ***:***
Connection: close
User-Agent: Paw/3.3.6 (Macintosh; OS X/12.1.0) GCDHTTPRequest
Content-Length: 20

{"type":"dashboard"}

Any idea what I'm doing wrong? Thanks!

It's _export (seems like you are missing the underscore in the beginning)

That was it. Thanks.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.