My favorites | Sign in
Project Logo
       
New issue | Search
for
| Advanced search | Search tips
Issue 1066: non-existing user_timeline should returns error code 404
2 people starred this issue and may be notified of changes. Back to list
Status:  Fixed
Owner:  raffigeo
Closed:  Sep 29
Type-Defect
Priority-Medium


Sign in to add a comment
 
Reported by kazuho, Sep 25, 2009
statuses/user_timeline.xml?screen_name=username return 401 both if user is
protected, or not found. It's better to return 404 if user is not found on
server.

protected:
/statuses/user_timeline.json?count=200&screen_name=PsychsTest

not found:
/statuses/user_timeline.json?count=200&screen_name=deepdesign
Comment 1 by raffigeo, Sep 25, 2009
(No comment was entered for this change.)
Status: Accepted
Owner: ra...@twitter.com
Comment 2 by raffigeo, Sep 29, 2009
(No comment was entered for this change.)
Status: Fixed
Comment 3 by kazuho, Oct 01, 2009
Is this change deployed? It seems the issue remains.

Let me explain more clearly. 

protected:
/statuses/user_timeline.json?screen_name=PsychsTest

This returns 401.

not found (never exist):
/statuses/user_timeline.json?screen_name=maru0123

This returns 404. These are expected. However, 

not found (had existed, but deleted):
/statuses/user_timeline.json?screen_name=deepdesign

This one returns 401, but it should be 404.
Sign in to add a comment

Hosted by Google Code