# Unable to start start fleet server

**URL:** <https://discuss.elastic.co/t/unable-to-start-start-fleet-server/277710>\
**Category:** Beats\
**Tags:** elastic-agent\
**Created:** [July 3, 2021, 1:27pm UTC](https://discuss.elastic.co/t/unable-to-start-start-fleet-server/277710 "2021-07-03T13:27:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![cheapsupps](https://avatars.discourse-cdn.com/v4/letter/c/3bc359/32.png) [@cheapsupps](https://discuss.elastic.co/u/cheapsupps)\
**Post date:** [July 3, 2021, 1:27pm UTC](https://discuss.elastic.co/t/unable-to-start-start-fleet-server/277710/1 "2021-07-03T13:27:16Z")

</div>

Hi,  
I am trying to start fleet server. However, I encounter the following error when starting it:

Fleet Server - Error - info fail [401 Unauthorized] {"error":{"root\_cause":[{"type":"security\_exception","reason":"failed to authenticate service account [elastic/fleet-server] with token name [fleet]","header":{"WWW-Authenticate":["Basic realm="security" charset="UTF-8"","Bearer realm="security"","ApiKey"]}}],"type":"security\_exception","reason":"failed to authenticate service account [elastic/fleet-server] with token name [fleet]","header":{"WWW-Authenticate":["Basic realm="security" charset="UTF-8"","Bearer realm="security"","ApiKey"]}},"status":401}

Any idea how to solve it?

---

<div class="post-metadata">

**Author:** ![mtojek](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mtojek/32/63863_2.png) [@mtojek](https://discuss.elastic.co/u/mtojek)\
**Post date:** [July 5, 2021, 8:45am UTC](https://discuss.elastic.co/t/unable-to-start-start-fleet-server/277710/2 "2021-07-05T08:45:54Z")

</div>

I think you need to share more details about what have you done. Did you enroll the agent? Did you update it? Did you try to regenerate the API key?

---

<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:** [August 2, 2021, 10:46am UTC](https://discuss.elastic.co/t/unable-to-start-start-fleet-server/277710/3 "2021-08-02T10:46:42Z")

</div>

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