Closed Bug 1673765 Opened 4 years ago Closed 4 years ago

Bug creation via REST API is failing due to error code 100500, with a null error message

Categories

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

defect

Tracking

()

VERIFIED FIXED

People

(Reporter: aryx, Assigned: dkl)

References

(Regression)

Details

Since today's deploy of bugzilla.mozilla.org, filing bugs from treeherder's UI fails and returns server error 500. The web ui makes a request to the Treeherder server which creates the bug using Bugzilla's API.

Is this a regression from bug 1670319? Are changes to BMO or Treeherder needed?

Filing all the intermittent bugs manually is time intensive and something the code sheriffing team wants to avoid.

Flags: needinfo?(dkl)

The treeherder API is throwing a 500 error because its expecting an 'id' key in the response, but what we receive from the rest/bug endpoint after trying to create a bug is:
{ "documentation": "https://bmo.readthedocs.io/en/latest/api/", "code": 100500, "error": true, "message": null }

I can see in our New Relic logs that this key error started on Oct 22nd but was only noticed by the sheriffs today.

Flags: needinfo?(dkl)
Regressed by: 1670319
Assignee: nobody → dkl
Status: NEW → ASSIGNED
Summary: creation of bugs from treeherder's bugfiler return Server Error (500) - issue with bugzilla API? → Bug creation via REST API is failing due to error code 100500, with a null error message

Please verify this is fixed and reopen if not the case.

Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.