# Upgrade Assistant API Not Responding

**URL:** <https://discuss.elastic.co/t/upgrade-assistant-api-not-responding/247138>\
**Category:** Elasticsearch\
**Created:** [September 1, 2020, 6:15pm UTC](https://discuss.elastic.co/t/upgrade-assistant-api-not-responding/247138 "2020-09-01T18:15:41Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![ajrvester](https://avatars.discourse-cdn.com/v4/letter/a/e9bcb4/32.png) [@ajrvester](https://discuss.elastic.co/u/ajrvester)\
**Post date:** [September 1, 2020, 6:15pm UTC](https://discuss.elastic.co/t/upgrade-assistant-api-not-responding/247138/1 "2020-09-01T18:15:42Z")

</div>

Hello,

I'm attempting to resolve an issue with one of our indexes before we perform an upgrade. We're currently running v6.8.8 of Elastic Cloud.

I'm following the docs [here](https://www.elastic.co/guide/en/kibana/6.8/upgrade-assistant-api-default-field.html#_request_28) to add a default field to our index to resolve the compatibility issue. However, trying to run the API console command from the Elastic Cloud console gives me an error. If I can't invoke the API from here or in Kibana's dev console, where am I supposed to do it from?

This is the response I get, whether using a GET or POST request:

`"error": "no handler found for uri [/api/upgrade_assistant/add_query_default_field/[INDEX-NAME]] and method [POST]"`

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [September 2, 2020, 1:45am UTC](https://discuss.elastic.co/t/upgrade-assistant-api-not-responding/247138/2 "2020-09-02T01:45:38Z")

</div>

Have you tried putting it into a curl request? eg;

```auto
curl -X GET "localhost:5601/api/upgrade_assistant/add_query_default_field/myIndex" -H 'kbn-xsrf: true' -H 'Content-Type: application/json' -d'
{
  "fieldTypes": ["text", "keyword"], 
  "otherFields": ["myField.*"] 
}
'

```

---

<div class="post-metadata">

**Author:** ![ajrvester](https://avatars.discourse-cdn.com/v4/letter/a/e9bcb4/32.png) [@ajrvester](https://discuss.elastic.co/u/ajrvester)\
**Post date:** [September 2, 2020, 2:13am UTC](https://discuss.elastic.co/t/upgrade-assistant-api-not-responding/247138/3 "2020-09-02T02:13:48Z")

</div>

No I hadn't tried that. Attempted the call from curl and Postman and got the same error message back. I checked the logs in Elastic Cloud as well, I don't see any errors in there.

---

<div class="post-metadata">

**Author:** ![ajrvester](https://avatars.discourse-cdn.com/v4/letter/a/e9bcb4/32.png) [@ajrvester](https://discuss.elastic.co/u/ajrvester)\
**Post date:** [September 11, 2020, 5:45pm UTC](https://discuss.elastic.co/t/upgrade-assistant-api-not-responding/247138/4 "2020-09-11T17:45:42Z")

</div>

I ended up opening a ticket. The issue was I was sending the request to Elasticsearch instead of Kibana, and using a POST request instead of a GET request. All sorted out now.

---

<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:** [October 9, 2020, 5:45pm UTC](https://discuss.elastic.co/t/upgrade-assistant-api-not-responding/247138/5 "2020-10-09T17:45:46Z")

</div>

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