openai-cookbook icon indicating copy to clipboard operation
openai-cookbook copied to clipboard

error - Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client

Open THL701 opened this issue 2 years ago • 0 comments
trafficstars

I receive the same error as issue #158 (https://github.com/openai/openai-cookbook/issues/158). However, I did so with a fresh API Key, and on the first attempt after waiting a day. So, it seems the error in my case isn't related to repeated / consistent requests. Any thoughts on what might be the issue?

error - Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client code: 'ERR_HTTP_HEADERS_SENT', page: '/api/get-answer-from-files'

Please let me know if further information would be helpful. Thanks!

THL701 avatar Mar 01 '23 23:03 THL701