Legacy Knowledge Base
Published Jul. 2, 2025

Error in configuring/authorising data source

Written By

Namit Srivastava

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

Legacy Article

You are viewing an article from our legacy "FastTrack" publication program, made available for informational purposes. Articles in this program were published without a requirement for independent editing or verification and are provided"as is" without guarantee.

Before using any information from this article, independently verify its suitability for your situation and project.

Issue

Environment

  • Liferay 7.1
  • Analytic Cloud

Resolution

  • These warning messages are being shown due to the fact that some of the IPs in use to generate some redirect URLs (mainly for back buttons) were not configured in the portal property redirect.url.ips.allowed when redirect.url.security.mode is set to ip or, alternatively, some domains were not configured in the portal propertyredirect.url.domains.allowed when redirect.url.security.mode is set to domain

    From a functional point of view, this might cause that some back buttons are not properly working.

    In order to prevent these warning messages you should configure those properties taking into account the following article Errors-and-Redirect-Issues-While-Using-the-Control-Panel

    If you decide to configure allowed redirect URLs by IP, you should include the IPs of all node balancers. In case you decide to configure this by domain, you should include all domains that could be subject to a redirection.
  • Even after setting the above properties there may be errors at next step saying "Authentication Failed" and "a server error occurred while connecting to your datasource". To resolve this check ifthe following Scopes checked under the scopes tab?
    1. analytics.read (alternatively everything.read)
    2. analytics.write (alternatively everything.write)
  • Check mark "create/update/delete data on your behalf"
  • Check Mark "download documents and images"
  • Save changes
Did this article resolve your issue ?

Legacy Knowledge Base