Difference between revisions of "/ cat/snapshots"

From wikieduonline
Jump to navigation Jump to search
Line 1: Line 1:
  
/_cat/snapshot
+
-X POST /_cat/snapshot
  
 
== Examples ==
 
== Examples ==

Revision as of 13:01, 11 July 2022

-X POST /_cat/snapshot

Examples

AccessDenied

{
 "error" : {
   "root_cause" : [
     {
       "type" : "repository_exception",
       "reason" : "[your_repo] Could not determine repository generation from root blobs"
     }
   ],
   "type" : "repository_exception",
   "reason" : "[your_repo] Could not determine repository generation from root blobs",
   "caused_by" : {
     "type" : "i_o_exception",
     "reason" : "Exception when listing blobs by prefix [index-]",
     "caused_by" : {
       "type" : "amazon_s3_exception",
       "reason" : "amazon_s3_exception: Access Denied (Service: Amazon S3; Status Code: 403; Error Code: AccessDenied; Request ID: 2P32JxxxxNQ1RT8T; S3 Extended Request ID: G/SURTMm9xuOXXXXIxnYXjC6JHo=)"
     }
   }
 },
 "status" : 500
}

Repository is missing

{
 "error": {
   "root_cause": [
     {
       "type": "action_request_validation_exception",
       "reason": "Validation Failed: 1: repository is missing;"
     }
   ],
   "type": "action_request_validation_exception",
   "reason": "Validation Failed: 1: repository is missing;"
 },
 "status": 400
}

Related

See also

Advertising: