You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@usergrid.apache.org by "Malaka Mahanama (JIRA)" <ji...@apache.org> on 2014/04/20 09:43:15 UTC

[jira] [Commented] (USERGRID-76) /collection/id path that do not exist should return 404, not 401

    [ https://issues.apache.org/jira/browse/USERGRID-76?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13975075#comment-13975075 ] 

Malaka Mahanama commented on USERGRID-76:
-----------------------------------------

[~rockerston],

I started looking at this issue as well. However I was not able to recreate it. Please take a look at the attached screenshot (result1-Usergrid-76). Received the expected 404 as opposed to 401. 

Thanks and Regards, 
Malaka
(Virtusa ~ Sri-Lanka)

> /collection/id path that do not exist should return 404, not 401
> ----------------------------------------------------------------
>
>                 Key: USERGRID-76
>                 URL: https://issues.apache.org/jira/browse/USERGRID-76
>             Project: Usergrid
>          Issue Type: Story
>          Components: Stack
>            Reporter: Rod Simpson
>            Assignee: Malaka Mahanama
>             Fix For: 1.1
>
>         Attachments: result1-Usergrid-76.png
>
>
> "Clients have to try re-authenticating if they receive a 401. 
> {code} 
> $ curl -i http://api.usergrid.com/tim/sandbox/users/ti1231231 
> HTTP/1.1 401 Unauthorized 
> Access-Control-Allow-Origin: * 
> Content-Type: application/json 
> Date: Wed, 30 Oct 2013 20:22:38 GMT 
> Server: Apache-Coyote/1.1 
> Set-Cookie: rememberMe=deleteMe; Path=/; Max-Age=0; Expires=Tue, 29-Oct-2013 20:22:38 GMT 
> Content-Length: 206 
> Connection: keep-alive 
> {""error"":""service_resource_not_found"",""timestamp"":1383164558729,""duration"":0,""exception"":""org.usergrid.services.exceptions.ServiceResourceNotFoundException"",""error_description"":""Service resource not found""} 
> {code}"



--
This message was sent by Atlassian JIRA
(v6.2#6252)