Skip to content

Commit e85db33

Browse files
committed
Update response_codes.py
1 parent f028c06 commit e85db33

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

webexteamssdk/response_codes.py

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,9 @@
3232

3333

3434
RESPONSE_CODES = {
35-
200: "OK",
36-
204: "Member deleted.",
37-
400: "The request was invalid or cannot be otherwise served. An "
38-
"accompanying error message will explain further.",
35+
200: "Successful request with body content.",
36+
204: "Successful request without body content.",
37+
400: "The request was invalid or cannot be otherwise served.",
3938
401: "Authentication credentials were missing or incorrect.",
4039
403: "The request is understood, but it has been refused or access is not "
4140
"allowed.",
@@ -47,11 +46,15 @@
4746
409: "The request could not be processed because it conflicts with some "
4847
"established rule of the system. For example, a person may not be "
4948
"added to a room more than once.",
49+
415: "The request was made to a resource without specifying a media type "
50+
"or used a media type that is not supported.",
5051
429: "Too many requests have been sent in a given amount of time and the "
5152
"request has been rate limited. A Retry-After header should be "
5253
"present that specifies how many seconds you need to wait before a "
5354
"successful request can be made.",
54-
500: "Something went wrong on the server.",
55+
500: "Something went wrong on the server. If the issue persists, feel "
56+
"free to contact the Webex Developer Support team "
57+
"(https://developer.webex.com/support).",
5558
502: "The server received an invalid response from an upstream server "
5659
"while processing the request. Try again later.",
5760
503: "Server is overloaded with requests. Try again later."

0 commit comments

Comments
 (0)