# Relevance Tuning Settings Bad Request on SAVE

**URL:** <https://discuss.elastic.co/t/relevance-tuning-settings-bad-request-on-save/207227>\
**Category:** Elastic Search\
**Tags:** elastic-app-search\
**Created:** [November 10, 2019, 2:14am UTC](https://discuss.elastic.co/t/relevance-tuning-settings-bad-request-on-save/207227 "2019-11-10T02:14:10Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jonathan\_Gautier](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jonathan_gautier/32/57330_2.png) [@Jonathan\_Gautier](https://discuss.elastic.co/u/Jonathan_Gautier)\
**Post date:** [November 10, 2019, 2:14am UTC](https://discuss.elastic.co/t/relevance-tuning-settings-bad-request-on-save/207227/1 "2019-11-10T02:14:10Z")

</div>

Hello,

I got problem with AppSearch 7.4.2 ( Docker Version ).  
When i want to update Relevance Tuning Settings by click on SAVE button, i got 400 Bad Request.

If somebody have an idea what is happening or Elastic Staff ?

Thanks.

URL Call:

> https://\*\*\*\*\*/as/engines/\*\*\*\*/search\_setting

METHOD:

> PUT

Content:

> {"search\_fields":{"description":{"weight":1},"title":{"weight":1},"picture":{"weight":1},"id":{"weight":1}},"result\_fields":{"date":{"raw":{}},"price":{"raw":{}},"description":{"raw":{}},"id":{"raw":{}},"currency":{"raw":{}},"title":{"raw":{}},"picture":{"raw":{}}},"boosts":{}}

---

<div class="post-metadata">

**Author:** ![orhantoy](https://avatars.discourse-cdn.com/v4/letter/o/c5a1d2/32.png) [@orhantoy](https://discuss.elastic.co/u/orhantoy)\
**Post date:** [November 15, 2019, 12:13pm UTC](https://discuss.elastic.co/t/relevance-tuning-settings-bad-request-on-save/207227/2 "2019-11-15T12:13:49Z")

</div>

Hello @Jonathan_Gautier 👋  
What do you see as the error response, if you check the JS network console in your browser?

---

<div class="post-metadata">

**Author:** ![Jonathan\_Gautier](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jonathan_gautier/32/57330_2.png) [@Jonathan\_Gautier](https://discuss.elastic.co/u/Jonathan_Gautier)\
**Post date:** [November 15, 2019, 2:27pm UTC](https://discuss.elastic.co/t/relevance-tuning-settings-bad-request-on-save/207227/3 "2019-11-15T14:27:21Z")

</div>

I got this in console log but is result of PUT Error.  
Website was behind cloudflare, maybe not standard PUT syntax ?

Every POST GET work fine just PUT get errored.

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/c/0/c02f8d908a27be4772d54fd1e3679e1dc1ede507.png)

Same for synonyms

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/8/9/8915151392129f673d04f173be2be60b36763d4d.png)

---

<div class="post-metadata">

**Author:** ![orhantoy](https://avatars.discourse-cdn.com/v4/letter/o/c5a1d2/32.png) [@orhantoy](https://discuss.elastic.co/u/orhantoy)\
**Post date:** [November 15, 2019, 3:13pm UTC](https://discuss.elastic.co/t/relevance-tuning-settings-bad-request-on-save/207227/4 "2019-11-15T15:13:19Z")

</div>

So all PUT requests are failing? Can you inspect the body of the error response to see if the error is from Cloudflare? You should have a Network tab in the Developer Tools that shows it.

---

<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:** [December 13, 2019, 3:13pm UTC](https://discuss.elastic.co/t/relevance-tuning-settings-bad-request-on-save/207227/5 "2019-12-13T15:13:25Z")

</div>

Closed on December 13, 2019, 3:13pm UTC

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