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:14 UTC
[jira] [Updated] (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:all-tabpanel ]
Malaka Mahanama updated USERGRID-76:
------------------------------------
Attachment: result1-Usergrid-76.png
Trying to recreate.
> /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)