Project

General

Profile

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 Anonymous almost 2 years ago. Updated over 1 year ago.

Status:
Closed
Priority:
Immediate
Assignee:
-
Target version:
Start date:
07/13/2023
Due date:
07/24/2023
% Done:

100%

Estimated time:
2.00 h
Spent time:

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".

#1

Updated by Anonymous almost 2 years ago

  • Assignee changed from Anonymous to Anonymous
#2

Updated by Anonymous almost 2 years ago

  • Status changed from New to In Progress
#3

Updated by Anonymous almost 2 years ago

  • Status changed from In Progress to Resolved
  • % Done changed from 0 to 100
#4

Updated by Anonymous almost 2 years ago

  • Status changed from Resolved to Review
  • Assignee changed from Anonymous to Anonymous
#5

Updated by Anonymous almost 2 years ago

  • Status changed from Review to Reopened
  • Assignee changed from Anonymous to Anonymous
#6

Updated by Anonymous almost 2 years ago

  • % Done changed from 100 to 30
#7

Updated by Anonymous almost 2 years ago

  • Status changed from Reopened to In Progress
#8

Updated by Anonymous almost 2 years ago

  • Status changed from In Progress to Resolved
  • % Done changed from 30 to 100
#9

Updated by Anonymous almost 2 years ago

  • Status changed from Resolved to Feedback
  • Assignee changed from Anonymous to Anonymous
#10

Updated by Anonymous almost 2 years ago

  • Assignee changed from Anonymous to Anonymous
#11

Updated by Anonymous almost 2 years ago

  • Status changed from Feedback to Resolved
  • Assignee changed from Anonymous to Anonymous
#12

Updated by Anonymous almost 2 years ago

  • Status changed from Resolved to Review
#13

Updated by Anonymous almost 2 years ago

  • Assignee changed from Anonymous to Anonymous
#14

Updated by Anonymous over 1 year ago

  • Due date changed from 07/13/2023 to 07/24/2023
  • Status changed from Review to Reopened
  • Assignee changed from Anonymous to Anonymous
  • % 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"

#15

Updated by Anonymous over 1 year ago

  • Assignee changed from Anonymous to Anonymous
#16

Updated by Anonymous over 1 year ago

  • Assignee changed from Anonymous to Anonymous
#17

Updated by Anonymous over 1 year ago

  • Status changed from Reopened to In Progress
#18

Updated by Anonymous over 1 year ago

  • Status changed from In Progress to Resolved
#19

Updated by Anonymous over 1 year ago

  • Status changed from Resolved to Review
#20

Updated by Anonymous over 1 year ago

  • Assignee changed from Anonymous to Anonymous
#21

Updated by Anonymous over 1 year ago

  • % Done changed from 80 to 100
#22

Updated by Anonymous over 1 year ago

  • Status changed from Review to Feedback
  • Assignee changed from Anonymous to Anonymous
#23

Updated by Anonymous over 1 year ago

  • Assignee changed from Anonymous to Anonymous
#24

Updated by Anonymous over 1 year ago

  • Assignee changed from Anonymous to Anonymous
#25

Updated by Ram Kordale over 1 year ago

  • Priority changed from Urgent to Immediate
#26

Updated by Anonymous over 1 year ago

  • Status changed from Feedback to Closed

Working as expected

Also available in: Atom PDF