When calling `getJson` or `getHtml` with callback instead of async/await, there's no way to handle errors.