[英]Power BI issues with Incapsula
I'm trying to get data->web to a service that uses Incapsula for DDOS and I'm getting the error: 我正在尝试将数据 - > web转换为使用Incapsula for DDOS的服务,我收到错误:
DataSource.Error: The server committed a protocol violation. DataSource.Error:服务器提交了协议违规。 Section=ResponseHeader Detail=CR must be followed by LF Section = ResponseHeader Detail = CR必须后跟LF
There was a workaround posted here: Power BI (Power Query) Web request results in "CR must be followed by LF" Error 此处发布了一个解决方法: Power BI(Power Query)Web请求导致“CR必须跟随LF”错误
But that workaround won't work for me, as the data that is returned is not a Web.Page (rather it's JSON) and therefore the Web.Page function will return a message that the results don't look like a Web.page. 但是这种解决方法对我来说不起作用,因为返回的数据不是Web.Page(而是它的JSON),因此Web.Page函数将返回一条消息,结果看起来不像Web.page 。
Query looks like this: 查询看起来像这样:
= Json.Document(Web.Contents("url", [Headers=[Authorization="Basic {encoded value}", #"X-Forte-Auth-Organization-Id"="{org_id}"]]))
and will actually work when I use the query validator, but when I exit out to use I get the error shown above. 并且当我使用查询验证器时实际工作,但当我退出使用时,我得到上面显示的错误。
If I do this: 如果我这样做:
=Json.Document(Web.Page(Web.Contents(url, [Headers=[Authorization="Basic {encoded value}", #"X-Forte-Auth-Organization-Id"="{org_id}"]])))
then I get this error: 然后我收到这个错误:
DataFormat.Error: The resource at 'url' cannot be retrieved using Web.Page. DataFormat.Error:无法使用Web.Page检索“url”处的资源。 It doesn't appear to be a web page. 它似乎不是一个网页。
Stack overflow wouldn't let me post the actual urls because I don't have enough reputation. 堆栈溢出不会让我发布实际的URL,因为我没有足够的声誉。
Any assistance is greatly appreciated. 非常感谢任何帮助。
[Disclaimer: I work for Incapsula] [免责声明:我为Incapsula工作]
I recommend contacting Incapsula support at support[at]incapsula.com 我建议在support [at] incapsula.com上联系Incapsula支持
They can help you with this, but are unable to post the response publically. 他们可以为您提供帮助,但无法公开发布回复。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.