My favorites | Sign in
Project Logo
       
New issue | Search
for
| Advanced search | Search tips
Issue 460: Real error codes/documentation
2 people starred this issue and may be notified of changes. Back to list
Status:  Invalid
Owner:  alexfpayne
Closed:  Apr 2009
Type-Enhancement
Priority-Low
Milestone-V2


Sign in to add a comment
 
Reported by buzz.andersen, Apr 13, 2009
Right now the Twitter API simply returns user-readable textual descriptions of error conditions, and 
there is no list that I know of that enumerates the possible errors a client might encounter.  This 
makes things difficult for client developers who want to display friendlier error messages or 
introduce special error handling logic in their applications.  Basically, if you want to do anything 
except display the raw API error message to the user, you have to key your error handling logic to 
strings that seem like they could change and aren't necessarily consistent across request types (for 
example "Not authorized" in some places "Sorry, you are not authorized to see this status." in 
others).  I think this could all be solved by the use of error codes, and the enumeration of the 
possible error codes an API method can return in the documentation.
Comment 1 by igudo1, Apr 13, 2009
Accepted as a low priority.
Status: Accepted
Labels: -Priority-Medium Priority-Low Milestone-V2
Comment 2 by alexfpayne, Apr 20, 2009
This is intended for V2.
Owner: alexfpayne
Comment 3 by alexfpayne, Apr 21, 2009
Moved to http://apiwiki.twitter.com/V2-Roadmap. Marking invalid just so it's off the main list.
Status: Invalid
Sign in to add a comment

Hosted by Google Code