azure-search-openai-demo: prepdocs failes with error - openai.APIStatusError: Request Header Fields Too Large

Please provide us with the following information:

This issue is for a: (mark with an x)

- [ x] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

Any log messages given by the failure

raise self._make_status_error_from_response(err.response) from None openai.APIStatusError: Request Header Fields Too Large

Expected/desired behavior

OS and Version?

Windows 7, 8 or 10. Linux (which distribution). macOS (Yosemite? El Capitan? Sierra?) windows server 2022

azd version?

run azd version and copy paste here. azd version 1.5.1

Versions

Mention any other details that might be useful


Thanks! We’ll be in touch soon.

About this issue

Most upvoted comments

Encounter the same “Request Header Fields Too Large” when trying the the Azure OpenAI Chat playground with “Add your data”

image