Error when changing an index if the fields are identical.
ID: 854634
Backlog
Published on 7/3/2023
•
Last update on 7/3/2023
Summary
An update of a schema index can result in a 500 Internal Server error when there are no changes to be made, this means that the field values are identical to the current ones. Performing a GET request on the API to check the indices reveals that no update is required, as the index is identical to the body provided in the PUT request.
Simulation
- Send a PUT request to update a schema index through the API, providing the necessary payload in the request body.
- Verify the response from the API and observe if it returns a 500 Internal Server Error.
- Perform a subsequent GET request on the API to retrieve the schema indices and compare them to the body provided in the PUT request.
Workaround
N/A