I was facing the same issue - though with slightly different error message (Unrecognized token ‘é’: was expecting (JSON string, Number, Array, Object or token ‘null’, ‘true’, or ‘false’))
On the broken response header, i saw this -> Content-Encoding: br
On my request header, i had Accept-Encoding gzip, deflate, br.
I tried deleting the ‘br’ from the Accept-Encoding on my header and resent the request. It solved the issue for me.
Maybe you can try checking the Content-Encoding from the broken response and try to modify your request header’s Accept-Encoding accordingly.