Closed
Bug 927120
Opened 11 years ago
Closed 11 years ago
[api] syntax error hitting signatureURLs endpoint
Categories
(Socorro :: Webapp, task)
Socorro
Webapp
Tracking
(Not tracked)
VERIFIED
FIXED
63
People
(Reporter: lonnen, Assigned: selenamarie)
References
()
Details
(Whiteboard: [qa+])
https://errormill.mozilla.org/webtools/socorro-stage/group/120926/ from GET https://crash-stats.allizom.org/api/SignatureURLs/ end_date 2013-10-10 products Firefox signature nsBinaryOutputStream::WriteWStringZ(wchar_t const*) start_date 2013-10-08 versions 27.0a1 also happens on prod: https://crash-stats.allizom.org/api/SignatureURLs/?end_date=2013-10-10&products=Firefox&signature=nsBinaryOutputStream%3A%3AWriteWStringZ(wchar_t+const*)&start_date=2013-10-08&versions=27.0a1&pretty=print
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → sdeckelmann
Assignee | ||
Comment 1•11 years ago
|
||
So, the API specifies that versions should be Product:Version i.e. Firefox:27.0a1 I can make the API return a more informative error message.. might need to fix whatever is calling that API as well.
Reporter | ||
Comment 2•11 years ago
|
||
Ah. The API is inconsistent, then. In other places 27.0a1 is the format.
Reporter | ||
Updated•11 years ago
|
Target Milestone: --- → 63
Reporter | ||
Comment 3•11 years ago
|
||
https://github.com/mozilla/socorro/commit/32a461830c587adc8204c3a758a25f2e4f2fd63e
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Comment 4•11 years ago
|
||
https://crash-stats.allizom.org/api/SignatureURLs/?end_date=2013-10-10&products=Firefox&signature=nsBinaryOutputStream%3A%3AWriteWStringZ%28wchar_t+const*%29&start_date=2013-10-08&versions=27.0a1&pretty=print throws a 400 BAD REQUEST.
Updated•11 years ago
|
Whiteboard: [qa+]
Comment 5•11 years ago
|
||
I also verified the exception from comment 0 is no longer thrown (checked Errormill). Verified FIXED on staging.
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•