Assistant not returning answer in preview

I ran everything correctly but i was not able to get an assistant answer in the preview even though the debugger shows that the question has been answered. after trying multiple times, I now am getting an HTTP 400 error. solutions would be appreciated. thank you!

What? Assistant? Is this GPT-3.5/4 or something else? HTTP 400 errors tend to be badly formatted JSON inputs. Send us debugger screenshots, editor links etc if you want a useful solution because we have nothing to go on…

sorry, I am new to this…does this screenshot help?
![Screen Shot 2023-08-27 at 1.14.17 AM|690x274]
(upload://bEpKS0Mp2ddcqpsgu2DGqtdLUfe.png)

Not at all

What’s the content of your repeating group? If you enable debug mode (put ?debug_mode=true at the end of the preview URL) what do you see when you hover over the assistant cell or run step by step?

Okay great

It’s telling you that you haven’t sent a valid JSON. Look at the JSON body you sent and use a JSON validator to identify where your formatting is incorrect.

I can see that at the top of your debugger content you have “content”: “” which means the content is empty in at least one of the messages.

okay thank you, ill try that and get back. appreciate the help!

This topic was automatically closed after 70 days. New replies are no longer allowed.