Error create snapshot and restore

Hello,

I'm trying to create a repository using AWS S3 but I'm getting some errors when performing Verification Status:

{
"name": "ResponseError",
"meta": {
"body": {
"error": {
"root_cause": [
{
"type": "repository_verification_exception",
"reason": "[teste] path [kibana-elasticsearch] is not accessible on master node"
}
],
"type": "repository_verification_exception",
"reason": "[teste] path [kibana-elasticsearch] is not accessible on master node",
"caused_by": {
"type": "i_o_exception",
"reason": "Unable to upload object [kibana-elasticsearch/tests-41VGnFLJTY-JhVAlfesYdA/master.dat] using a single upload",
"caused_by": {
"type": "amazon_s3_exception",
"reason": "The provided token is malformed or otherwise invalid. (Service: Amazon S3; Status Code: 400; Error Code: InvalidToken; Request ID: CN6GNYMX8GCS8HE6; S3 Extended Request ID: 83YwMxdYIWppxCnrp+0zUtt8Kl+ZJxkEzpC7lcCCxvxp39BMJJqxxRdlPYNK0JVw4M93KZV70lY=)"
}
}
},
"status": 500
},
"statusCode": 500,
"headers": {
"x-opaque-id": "9a158d84-330c-4ffa-8bc9-a6abbfdf31e5;kibana::management:",
"x-elastic-product": "Elasticsearch",
"content-type": "application/json;charset=utf-8",
"content-length": "749"
},
"meta": {
"context": null,
"request": {
"params": {
"method": "POST",
"path": "/_snapshot/teste/_verify",
"querystring": "",
"headers": {
"user-agent": "elastic-transport-js/8.0.2 (linux 5.4.0-126-generic-x64; Node.js v16.14.2)",
"x-elastic-product-origin": "kibana",
"authorization": "Basic ZWxhc3RpYzp1REdJblVYMipKRz1Vd3o0TzNyVA==",
"x-opaque-id": "9a158d84-330c-4ffa-8bc9-a6abbfdf31e5;kibana::management:",
"x-elastic-client-meta": "es=8.2.0p,js=16.14.2,t=8.0.2,hc=16.14.2",
"accept": "application/vnd.elasticsearch+json; compatible-with=8,text/plain"
}
},
"options": {
"opaqueId": "9a158d84-330c-4ffa-8bc9-a6abbfdf31e5;kibana::management:",
"headers": {
"x-elastic-product-origin": "kibana",
"authorization": "Basic ZWxhc3RpYzp1REdJblVYMipKRz1Vd3o0TzNyVA==",
"x-opaque-id": "9a158d84-330c-4ffa-8bc9-a6abbfdf31e5",
"x-elastic-client-meta": "es=8.2.0p,js=16.14.2,t=8.0.2,hc=16.14.2"
}
},
"id": 1
},
"name": "elasticsearch-js",
"connection": {
"url": "https://10.10.6.51:9200/",
"id": "https://10.10.6.51:9200/",
"headers": {},
"status": "alive"
},
"attempts": 0,
"aborted": false
},
"warnings": null
}
}

Welcome to our community! :smiley:

It'd help if you shared the snapshot config you used.

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