Kentico: Issue related to the XML data Source, 403 error

I am getting the (403) Forbidden error in the Event Log of a Kentico website. The screenshot of the event log are shown below:

enter image description here

enter image description here

I have checked the Data Source web part used on the /home page and the URL from where i am getting XML data is also correct. So I am unable to understand what can be the cause of this type of error.

Any help will be greatly appreciated. Thanks in advance.

1 answer

  • answered 2018-05-16 10:08 Michal Samuhel

    Is someone blocking Baiduspider from making requests to the XML file? There is a webRequest for XML url in place, for which default .net credentials from CredentialCache and user agent from current request is used. If the server or page with XML is blocking robots for example, this exception can occur.