-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Low
-
Component/s: Board - Close & Delete, Product - API
-
None
-
Severity 3 - Minor
Issue Summary
When performing a PUT API request to the /boards/{id} endpoint to close the board and adding the additional parameters name, desc , and prefs/background causes the API response to throw a 500 status code.
This only happens when the board is open, when performing the same request when the board is closed, a 409 status code is returned.
Steps to Reproduce
- Perform a PUT API request to the /boards/{id} containing the following parameters while a board is open:
name
desc
prefs/background
closed = true
Expected Results
The API response status code is 200 status code and all data is updated.
Actual Results
A 500 status code is returned by the API.
Workaround
While the closed = true parameters still work and the board is closed, to avoid having a 500 status response, first perform a request to update the required data on the board and then perform a second request to close the board.