Rod Simpson created USERGRID-76:
-----------------------------------
Summary: /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
"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.1.5#6160)