Data From Web - Connect Error - CR must be followed by LF

New Contributor

I am trying to use Office 365 Get & Transform data from web. When I try to connect, it errors out with attached message.
If I use the older "Legacy Add-In" in Office 365, it connects fine, and captures results. If I use Office 2013 it works fine with the same URL.
Can anyone help me to get the newer Data from Web (Get & Transform) working?

I'm connecting to a secure search result page on
I've also tried with the full, long URL.
The CR/LF message has a long history, and occurs in different situations, but I couldn't find a solution  that matched Excel Get & Transform at all...

5 Replies

Hi Joe,


That's known issue. See, for example,


If for your connection you use Advanced option to ignore cookiesimage.png

it works (I mean connection, not sure what you'd like to do with the data).

Thank you, Sergei

I just tried this both using authentication and anonymous. Didn't work, same error as before.

Also - where is there a description of the HTTP request header parameters (that are in the drop on the Advanced "From Web" form)?
Something that tells what the allowable options are?

The spurious LF in Cookies thing has been know for a long time. But here's the thing - the error does not occur in the Legacy "From Web" Add-in - only in the newest version of Get & Transform - which seems to have re-broken the function?



Attached is the file with connection on first table, I used anonymous - it works. Generated query is

    Source = Web.Page(Web.Contents(
    Data0 = Source{0}[Data],
    #"Changed Type" = Table.TransformColumnTypes(Data0,{{"Column1", type text}, {"Column2", type text}, {"Column3", type any}, {"Column4", type text}})
    #"Changed Type"

Not sure where to find description of header parameters - I used this one on my guess.


Power Query and legacy From Web are  fully different tools. Could consider that as broken functionality or as more strict requirements, but it works as it works. Can nothing to do with this, that's more question to Microsoft.

Very weird that it works for you, not for me. I did it exactly as you did. Anonymous with Cookie ignore. I tried both the full URL and the tinyurl. Always the same error.
I have opened a support ticket...

Joe, can't help here, have no idea what could be wrong. Perhaps support will help. Just in case that is my credentials for that source