Task #3127
Task #3126: Handle OpenAI API error codes
BE: Return the 500 error in the response of /answer api, if receive any error from openai.
Added by Ayush Khandelwal over 1 year ago. Updated over 1 year ago.
Description
Server side
-----------
If error is 401 or 429, please log a critical level message; else log a info level message.
Log Message = "OpenAI error: <return error code and message from API call>"
At this time, send the error code as 500 to the frondend with the message "Unfortunately, ChatGPT Plus API Servers are very busy. Please retry later".
Updated by Abhijata Sen over 1 year ago
- Status changed from In Progress to Resolved
- % Done changed from 0 to 100
Updated by Abhijata Sen over 1 year ago
- Status changed from Resolved to Review
- Assignee changed from Abhijata Sen to Venmuhilan B
Updated by Venmuhilan B over 1 year ago
- Status changed from Review to Reopened
- Assignee changed from Venmuhilan B to Abhijata Sen
Updated by Venmuhilan B over 1 year ago
- Status changed from In Progress to Resolved
- % Done changed from 30 to 100
Updated by Venmuhilan B over 1 year ago
- Status changed from Resolved to Feedback
- Assignee changed from Abhijata Sen to Venmuhilan B
Updated by Venmuhilan B over 1 year ago
- Status changed from Feedback to Resolved
- Assignee changed from Ayush Khandelwal to Venmuhilan B
Updated by Ayush Khandelwal over 1 year ago
- Due date changed from 07/13/2023 to 07/24/2023
- Status changed from Review to Reopened
- Assignee changed from Ayush Khandelwal to Venmuhilan B
- % Done changed from 100 to 80
There is a change in the requirement:
Let's change the error message from "Unfortunately, ChatGPT Plus API Servers are very busy. Please retry later" to "Unfortunately, ChatGPT Plus Servers are very busy. Please retry later"
Updated by Venmuhilan B over 1 year ago
- Status changed from Review to Feedback
- Assignee changed from Ayush Khandelwal to Abhijata Sen
Updated by Venmuhilan B over 1 year ago
- Assignee changed from Venmuhilan B to Ayush Khandelwal
Updated by Ayush Khandelwal over 1 year ago
- Status changed from Feedback to Closed
Working as expected