Issue is with the test suite. This is not a regression and does not effect end user.
The test were printing an error message because the url for nock when deleting a preference was incorrect and the http request didn't succeed.
Expected: No error logs
Observed: Has an error log when running tests
Note: Making a ticket to track a community contribution
No error logs when running tests.