# Error 500 as response when using longer input with openai

**URL:** <https://forum.ideta.io/t/error-500-as-response-when-using-longer-input-with-openai/227>\
**Category:** Bug Reporting\
**Created:** [April 13, 2023, 8:44pm UTC](https://forum.ideta.io/t/error-500-as-response-when-using-longer-input-with-openai/227 "2023-04-13T20:44:09Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![neopixel](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.ideta.io/neopixel/32/458_2.png) [@neopixel](https://forum.ideta.io/u/neopixel)\
**Post date:** [April 13, 2023, 8:44pm UTC](https://forum.ideta.io/t/error-500-as-response-when-using-longer-input-with-openai/227/1 "2023-04-13T20:44:09Z")

</div>

Hello there,

I got error 500 as response from server, when I use OpenAI model GPT3.5turbo. Here is the “ideta\_api\_bubble\_latest\_response”:

```auto
{"details":{"message":"Internal server error","statusCode":500},"error":{"message":"Request failed with code 500 -> Internal Server Error","response":{"details":"{\"statusCode\":500,\"message\":\"Internal server error\"}","message":"Request failed with code 500 -> Internal Server Error"},"status":422}}

```

And here is the input, that I am using for the field “Set a conversation context for the model”. In the context, there are all included the links for product categories, that chatbot can use and is limited to use only these:  
[https://neopixel.sk/ideta-error-malykralicek.cz.txt](https://neopixel.sk/ideta-error-malykralicek.cz.txt)

---

<div class="post-metadata">

**Author:** ![Glen](https://avatars.discourse-cdn.com/v4/letter/g/8c91f0/32.png) [@Glen](https://forum.ideta.io/u/Glen)\
**Post date:** [April 22, 2023, 8:38pm UTC](https://forum.ideta.io/t/error-500-as-response-when-using-longer-input-with-openai/227/2 "2023-04-22T20:38:06Z")

</div>

> [@neopixel](#):
>
> [https://neopixel.sk/ideta-error-malykralicek.cz.txt](https://neopixel.sk/ideta-error-malykralicek.cz.txt)

Hi !

There are limits to the prompt.

You can condense your instructions by saying: “only mention links from domain ‘malykralicek.cz’” or "only mention links starting with ‘[https://malykralicek.cz](https://malykralicek.cz)’ "

---

<div class="post-metadata">

**Author:** ![neopixel](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.ideta.io/neopixel/32/458_2.png) [@neopixel](https://forum.ideta.io/u/neopixel)\
**Post date:** [April 22, 2023, 8:39pm UTC](https://forum.ideta.io/t/error-500-as-response-when-using-longer-input-with-openai/227/3 "2023-04-22T20:39:46Z")

</div>

Perfect, thank you very much.
