This happens to me if response `Content-Type` is `text/html` (but I suppose everytime `Content-Type` is something different than `application/json`.