# 502 Error AI Assistant chat

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2F502-error-ai-assistant-chat%2F91830%3E%5C
**Category:** Beginners\
**Created:** [June 12, 2024, 7:33pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2F502-error-ai-assistant-chat%2F91830 "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](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fj4ckFla5h)%5C
**Post date:** [June 12, 2024, 7:33pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2F502-error-ai-assistant-chat%2F91830%2F1 "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](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fj4ckFla5h)%5C
**Post date:** [June 12, 2024, 7:53pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2F502-error-ai-assistant-chat%2F91830%2F2 "2024-06-12T19:53:58Z")

</div>

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

…
