Closed Bug 1180711 Opened 6 years ago Closed 6 years ago

invalid_cookies_or_token should have a real error code

Categories

(bugzilla.mozilla.org :: API, defect)

Production
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: mcote, Assigned: glob)

Details

Attachments

(1 file)

The error code associated with the error message "The cookies or token provide were not valid or have expired. You may login again to get new cookies or a new token." is 32000, the generic error code.  It should have a proper code so third-party software can easily react to this specific error.
Assignee: webservice → glob
Component: WebService → API
Product: Bugzilla → bugzilla.mozilla.org
QA Contact: default-qa
Version: 4.2 → Production
Attached patch 1180711_1.patchSplinter Review
Attachment #8629970 - Flags: review?(dkl)
Comment on attachment 8629970 [details] [diff] [review]
1180711_1.patch

Review of attachment 8629970 [details] [diff] [review]:
-----------------------------------------------------------------

r=dkl
Attachment #8629970 - Flags: review?(dkl) → review+
To ssh://gitolite3@git.mozilla.org/webtools/bmo/bugzilla.git
   f9e2d3d..f70d4ce  master -> master
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.