You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@usergrid.apache.org by "Brandon Shelley (JIRA)" <ji...@apache.org> on 2015/11/24 18:05:11 UTC
[jira] [Updated] (USERGRID-1128) Entity request by uuid that
doesn't exist returns 401 instead of 404
[ https://issues.apache.org/jira/browse/USERGRID-1128?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brandon Shelley updated USERGRID-1128:
--------------------------------------
Description:
Note: validated fixed in 2.1, unresolved in 1.0. Do we need to mark this as #wontfix?
If you call the following without auth:
https://api.usergrid.com/brandon.apigee/sandbox/tests/b3037a1a-4cd6-11e5-8aa2-0b8eb3ce43ef
You can an entity response.
If you call:
https://api.usergrid.com/brandon.apigee/sandbox/tests/b3037a1a-4cd6-11e5-8aa2-0b8eb3ce43ee
You get the correct error body, but the response status code is 401. Expect it to be 404.
was:
Note: may or may not affect 2.X, tested affecting 1.0
If you call the following without auth:
https://api.usergrid.com/brandon.apigee/sandbox/tests/b3037a1a-4cd6-11e5-8aa2-0b8eb3ce43ef
You can an entity response.
If you call:
https://api.usergrid.com/brandon.apigee/sandbox/tests/b3037a1a-4cd6-11e5-8aa2-0b8eb3ce43ee
You get the correct error body, but the response status code is 401. Expect it to be 404.
> Entity request by uuid that doesn't exist returns 401 instead of 404
> --------------------------------------------------------------------
>
> Key: USERGRID-1128
> URL: https://issues.apache.org/jira/browse/USERGRID-1128
> Project: Usergrid
> Issue Type: Bug
> Components: Stack
> Affects Versions: 2.0.0, 1.0
> Reporter: Brandon Shelley
> Fix For: 2.1.2
>
>
> Note: validated fixed in 2.1, unresolved in 1.0. Do we need to mark this as #wontfix?
> If you call the following without auth:
> https://api.usergrid.com/brandon.apigee/sandbox/tests/b3037a1a-4cd6-11e5-8aa2-0b8eb3ce43ef
> You can an entity response.
> If you call:
> https://api.usergrid.com/brandon.apigee/sandbox/tests/b3037a1a-4cd6-11e5-8aa2-0b8eb3ce43ee
> You get the correct error body, but the response status code is 401. Expect it to be 404.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)