openai.BadRequestError: Error code: 400 是一个常见的错误,表明你的请求没有被 OpenAI 服务器正确接收或处理。为了帮助你解决这个问题,我将按照提供的 tips 逐一分析并给出建议。 1. 分析错误代码400通常代表的含义 HTTP 状态码 400 表示“Bad Request”,即客户端发送的请求有误,服务器无法理解或处理。这通常...
Error trace: BadRequestError: Error code: 400 - {'object': 'error', 'message': "[{'type': 'extra_forbidden', 'loc': ('body', 'parallel_tool_calls'), 'msg': 'Extra inputs are not permitted', 'input': False}]", 'type': 'BadRequestError', 'param': None, 'code': 400} Pa...
Sorry, I had a problem talking to OpenAI: Error code: 400 - {'error': {'message': "Invalid 'tools[11].function.name': string too long. Expected a string with maximum length 64, but got a string with length 74 instead.", 'type': 'invalid_request_error', 'param': 'tools[11].fu...
Following Python example in Learn How to use JSON docs, returns the following error - openai.BadRequestError: Error code: 400 - {'error': {'message': 'Unrecognized request argument supplied: response_format', 'type': 'invalid_request_error', 'param':…
I am trying to import a file into an Azure service and encountering the following error: openai.BadRequestError: Error code: 400 - {'error': {'code': 'invalidPayload', 'message': 'The specified file reference must point to a completed file import.'}}.…
400 Error, pleaassee help :D API jamesgetsresults December 22, 2022, 2:46pm 1 Ok, here’s the code. I’m a newbie guys, so please go easy on me lol <script> generateButton = document.getElementById("generate-button"); generateButton.addEventListener("click", function() { // Get...
1 invalid_request_error (Code: 400) 2 rate_limit_error (Code: 429) 3 tokens_exceeded_error (Code: 403) 4 authentication_error (Code: 401) 5 not_found_error (Code: 404) 6 server_error (Code: 500) 7 permission_error (Code: 403) 1 Like omar...
openai.BadRequestError: Error code: 400 - {'error': {'message': 'gpt-3.5-turbo can only be fine-tuned on the new fine-tuning API (`/fine_tuning/jobs`). This API (`/fine-tunes`) is being deprecated. Please refer to our documentation for more information: https://platform.openai.com...
code: 400, data: { errorData, }, message: `失败-机器人无应答【3】,${error}`, }) return } if (isSuccess) { console.log('resultMessages', resultMessages) res.send({ code: 200, data: { thread, errorData, resultMessages, },
raise self._make_status_error_from_response(err.response) from None openai.BadRequestError: Error code: 400 - {'error': {'message':"This model's maximum context length is 4097 tokens. However, your messages resulted in 4135 tokens. Please reduce the length of the messages.",'type':'inva...