# IllegalArgumentException\[Unknown client name \[gcs\]

**URL:** https://discuss.elastic.co/t/illegalargumentexception-unknown-client-name-gcs/307328
**Category:** Elasticsearch
**Tags:** snapshot-and-restore
**Created:** [June 15, 2022, 11:31pm UTC](https://discuss.elastic.co/t/illegalargumentexception-unknown-client-name-gcs/307328 "2022-06-15T23:31:05Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![alexus](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/alexus/32/12696_2.png) [@alexus](https://discuss.elastic.co/u/alexus)
#### Post date: [June 15, 2022, 11:31pm UTC](https://discuss.elastic.co/t/illegalargumentexception-unknown-client-name-gcs/307328/1 "2022-06-15T23:31:05Z")

</div>

Hello World!

I'm trying to get started with [Getting started | Elasticsearch Plugins and Integrations [6.8] | Elastic](https://www.elastic.co/guide/en/elasticsearch/plugins/6.8/repository-gcs-usage.html) yet running into the following issue:

```auto
{
  "error": {
    "root_cause": [
      {
        "type": "repository_verification_exception",
        "reason": "[gcs] [[13MGxSQmSH2Oyq7-AXcAZw, 'RemoteTransportException[[X][X.X.X.X:9300][internal:admin/repository/verify]]; nested: RepositoryException[[gcs] cannot create blob store]; nested: BlobStoreException[Unable to check if bucket [XYZ] exists]; nested: IllegalArgumentException[Unknown client name [gcs]. Existing client configs: default];']]"
      }
    ],
    "type": "repository_verification_exception",
    "reason": "[gcs] [[13MGxSQmSH2Oyq7-AXcAZw, 'RemoteTransportException[[X][X.X.X.X:9300][internal:admin/repository/verify]]; nested: RepositoryException[[gcs] cannot create blob store]; nested: BlobStoreException[Unable to check if bucket [XYZ] exists]; nested: IllegalArgumentException[Unknown client name [gcs]. Existing client configs: default];']]"
  },
  "status": 500
}

```

My actual request:

```auto
PUT _snapshot/gcs
{
  "type": "gcs",
  "settings": {
    "base_path": "6",
    "bucket": "XYZ",
    "client": "gcs"
  }
}

```

I use "default" client to access to another GCP bucket (which works without any issues).

Please advise)  
Thanks!

---

<div class="post-metadata">

### Author: ![alexus](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/alexus/32/12696_2.png) [@alexus](https://discuss.elastic.co/u/alexus)
#### Post date: [June 16, 2022, 3:12am UTC](https://discuss.elastic.co/t/illegalargumentexception-unknown-client-name-gcs/307328/2 "2022-06-16T03:12:51Z")

</div>

.. It turns out to be one of the data nodes didn't get update properly, so it was missing that client info and that's why it i was getting that message..

way to check it:

```auto
[root@91d67f59c216 elasticsearch]# ./bin/elasticsearch-keystore list | grep ^gcs
gcs.client.default.credentials_file
gcs.client.gcs.credentials_file
[root@91d67f59c216 elasticsearch]#

```

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [July 14, 2022, 3:13am UTC](https://discuss.elastic.co/t/illegalargumentexception-unknown-client-name-gcs/307328/3 "2022-07-14T03:13:13Z")

</div>

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