Legacy Knowledge Base
公開されました Jun. 30, 2025

502 Bad Gateway from px.ads.linkedin.com in the browser console

Written By

Brian Suh

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

  • The browser console is showing a 502 Bad Gateway on traffic from https://px.ads.linkedin.com, specifically https://px.ads.linkedin.com/collect?v=2&fmt=js&pid={PID}&time={TIMESTAMP}&url={URL}

Environment

  • Liferay DXP 7.3+

Resolution

  • The failing request belongs to a LinkedIn Insight tracker added by a Google Tag Manager script. The 502 status code likely indicates that the LinkedIn Insight tag is enabled but not configured correctly.
  • To resolve this:
    1. Open your browser's developer tools and go to the Network tab.
    2. Find the request to px.ads.linkedin.com and check its Initiator to confirm that it comes from Google Tag Manager.
    3. In Google Tag Manager, review the LinkedIn Insight tag and adjust its configurations.

Additional Information

  • Please note that as this issue stems from a third-party technology, Liferay Support will be limited in its ability to provide assistance. For further guidance, please reach out to the vendor of the third-party technologies or see the third-party article Use event-specific conversion tracking with Google Tag Manager for more information.
Did this article resolve your issue ?

Legacy Knowledge Base