Hello Tony Johansson, Welcome to Microsoft Q&A platform. I tried to reproduce the error from my end by following the steps you have mentioned. But I was able to preview the data. The error message "Request headers must contain only ASCII characters" indicates that the request headers in your JSON file contain non-ASCII characters. To resolve this issue, you can try encoding your JSON file in ASCII format. In the Notepad++, try to convert the encoding of your file to ASCII. To do this, open your JSON file in Notepad++, click on the encoding and select "Convert to UTF-8" and see if it helps?
I get Request headers must contain only ASCII characters when I use Data preview in azure data flow
Tony Johansson
40
Reputation points
Hello!
My json file is much bigger but to try to find the solution to my problem I have removed a lot down to this simple json file. I have written this file in notepad++
{"id":"1"} but as soon as use Data preview in azure Data flow I get this error
Request headers must contain only ASCII characters. - RunId: 34f9d43e-b1c6-4e14-bda3-2a120a401653
I can't understand this error. I have tried to goole and find some hints but I have no success.
Many thanks in advance
1 answer
Sort by: Most helpful
-
Bhargava-MSFT 31,031 Reputation points Microsoft Employee
2023-04-12T19:33:20.9966667+00:00