# 502 Error AI Assistant chat

**URL:** <https://discuss.huggingface.co/t/502-error-ai-assistant-chat/91830>\
**Category:** Beginners\
**Created:** [June 12, 2024, 7:33pm UTC](https://discuss.huggingface.co/t/502-error-ai-assistant-chat/91830 "2024-06-12T19:33:58Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![j4ckFla5h](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/j4ckfla5h/32/28156_2.png) [@j4ckFla5h](https://discuss.huggingface.co/u/j4ckFla5h)\
**Post date:** [June 12, 2024, 7:33pm UTC](https://discuss.huggingface.co/t/502-error-ai-assistant-chat/91830/1 "2024-06-12T19:33:58Z")

</div>

Trying to use a HuggingFace Cohere assistant …

> **[HuggingChat](https://huggingface.co/chat/)**
>
> Making the community's best AI chat models available to everyone.

at

> **[Prescient AI - HuggingChat](https://huggingface.co/chat/assistant/6658c981ddee82cbfbd8b27c)**
>
> Use the Prescient AI assistant inside of HuggingChat

… when every ‘New Chat’ ends up 502 after four or five minutes ?

Any help appreciated.

---

<div class="post-metadata">

**Author:** ![j4ckFla5h](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/j4ckfla5h/32/28156_2.png) [@j4ckFla5h](https://discuss.huggingface.co/u/j4ckFla5h)\
**Post date:** [June 12, 2024, 7:53pm UTC](https://discuss.huggingface.co/t/502-error-ai-assistant-chat/91830/2 "2024-06-12T19:53:58Z")

</div>

I’m now getting 500 Unexpected token "\<, "\<!DOCTYPE " \_ is not valid JSON

…
