# Getting a 400 Bad Request when hitting the min.io browser login

**URL:** <https://discuss.elastic.co/t/getting-a-400-bad-request-when-hitting-the-min-io-browser-login/179229>\
**Category:** Beats\
**Tags:** heartbeat\
**Created:** [May 1, 2019, 4:38pm UTC](https://discuss.elastic.co/t/getting-a-400-bad-request-when-hitting-the-min-io-browser-login/179229 "2019-05-01T16:38:39Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Joseph\_Gange](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/joseph_gange/32/45922_2.png) [@Joseph\_Gange](https://discuss.elastic.co/u/Joseph_Gange)\
**Post date:** [May 1, 2019, 4:38pm UTC](https://discuss.elastic.co/t/getting-a-400-bad-request-when-hitting-the-min-io-browser-login/179229/1 "2019-05-01T16:38:39Z")

</div>

I've configured a monitor to check out Minio instance. The section of the heartbeat.yml is below (address and credentials replaced with "x"s).

> - type: http  
> schedule: '@every 5s'  
> urls: ["[http://xxx.xxx.xxx.xxx:9000/minio/login](http://xxx.xxx.xxx.xxx:9000/minio/login)"]  
> username: xxxxxx  
> password: "xxxxxx" \<--- quoted b/c the password includes non-alphanumeric characters

I can log into the site using the credentials with a browser and I have double checked the URL, etc.

Any help is appreciated!

---

<div class="post-metadata">

**Author:** ![Andrew\_Cholakian1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/andrew_cholakian1/32/3612_2.png) [@Andrew\_Cholakian1](https://discuss.elastic.co/u/Andrew_Cholakian1)\
**Post date:** [May 1, 2019, 6:52pm UTC](https://discuss.elastic.co/t/getting-a-400-bad-request-when-hitting-the-min-io-browser-login/179229/2 "2019-05-01T18:52:32Z")

</div>

Unfortunately a 400 error isn't much info. Are you sure that minio uses HTTP basic auth? It looks like you're pointed at a login page, which hints to me that it may uses a custom auth scheme.

---

<div class="post-metadata">

**Author:** ![Joseph\_Gange](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/joseph_gange/32/45922_2.png) [@Joseph\_Gange](https://discuss.elastic.co/u/Joseph_Gange)\
**Post date:** [May 1, 2019, 7:05pm UTC](https://discuss.elastic.co/t/getting-a-400-bad-request-when-hitting-the-min-io-browser-login/179229/3 "2019-05-01T19:05:02Z")

</div>

Thanks for the quick response. I did some more research and discovered it does not use basic authentication, but rather AWS Signature Version 4. Is it possible to set that in the monitor configuration?

---

<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:** [May 29, 2019, 7:05pm UTC](https://discuss.elastic.co/t/getting-a-400-bad-request-when-hitting-the-min-io-browser-login/179229/4 "2019-05-29T19:05:07Z")

</div>

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