And if anyone is going to tell me I should make additional API calls
to try and determine the real source of the error, or I should try and
interpret the returned error message, I am going to remotely install a
VB program on your laptop that is going to repeatedly pick up the
mouse and whack you over the head with it.
What I am really saying is the API is returning a false error message.
The user is properly authenticated. The error is that the target
information resource does not exist. That's why it must return 404.
Try it for yourself and see what I mean:
curl -u username:password
On Sep 25, 9:51 pm, Dewald Pretorius <dpr...@gmail.com> wrote:
> API folks, could you please, please NOT return 401 "Not authorized"
> when an authenticated call with a perfectly valid username and
> password requests a /queryusername.json where that queryusername
> happens to be a username that does not exist.
> Rather return 404.
> By returning 401 you are making it impossible for me to tell where the
> actual problem lies and inform the user. Is it with the user's
> password, or is it because the user wanted information about a Twitter
> account that does not exist?