---
title: Troubleshooting
description: Description:
component: linkedin
page_id: linkedin:troubleshooting:pf_linkedin_cic_troubleshooting
canonical_url: https://docs.pingidentity.com/integrations/linkedin/troubleshooting/pf_linkedin_cic_troubleshooting.html
revdate: July 17, 2025
section_ids:
  pingfederate-cant-connect-to-the-linkedin-api: PingFederate can't connect to the LinkedIn API
  linkedin-presents-the-user-with-an-unauthorized-page: LinkedIn presents the user with an Unauthorized page
  all-sso-attempts-fail: All SSO attempts fail
  linkedin-does-not-return-values-for-some-requested-attributes: LinkedIn does not return values for some requested attributes
---

# Troubleshooting

## PingFederate can't connect to the LinkedIn API

Description:

* When [configuring an adapter instance](../setup/pf_linkedin_cic_configuring_an_adapter_instance.html), you receive an error when you click **Test Connection**.

Recommendation:

* Check the **Client ID** and **Client Secret** values for the PingFederate application that you registered on <https://developer.linkedin.com/>.

* Copy and paste the values directly into the adapter instance configuration. Run the test again.

## LinkedIn presents the user with an **Unauthorized** page

Description:

* LinkedIn presents the user with an **Unauthorized** page containing a link to an error page provided by the LinkedIn IdP Adapter instance.

Explanation:

* During authentication, the user declined to give authorization to LinkedIn. Ask the user to repeat the process and authorize LinkedIn.

|   |                                                                                                                                                                                                 |
| - | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|   | You can customize this error page. Learn more in the **Unauthorized Redirect URL** table entry in [LinkedIn IdP Adapter settings](../setup/pf_linkedin_cic_linkedin_idp_adapter_settings.html). |

## All SSO attempts fail

Description:

* For all users, attempting to sign on to an application through the LinkedIn IdP Adapter fails. The PingFederate server log includes the following error: "Attribute retrieval from LinkedIn failed".

Recommendation:

* Check whether you are using the correct LinkedIn API endpoint for the permissions that you have requested. In your adapter instance configuration, check that the following settings and fields are in agreement:

  * Permissions

  * LinkedIn User Data V2 URL

Learn more in [LinkedIn IdP Adapter settings](../setup/pf_linkedin_cic_linkedin_idp_adapter_settings.html).

## LinkedIn does not return values for some requested attributes

Description:

* After successful authentication and authorization, LinkedIn does not return values for some of the requested attributes.

Explanation:

* Some attributes require specific LinkedIn partner programs. Learn more in [Frequently Asked Questions](https://developer.linkedin.com/support/faq) in the LinkedIn developer documentation.
