Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9139571
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T09:24:18+00:00 2026-06-17T09:24:18+00:00

I am using linkedin-j-android.jar for linkedinIn connectivity and successfully done my requirement. But for

  • 0

I am using linkedin-j-android.jar for linkedinIn connectivity and successfully done my requirement. But for some user, i am getting below exception when I trying to get user updates.

com.google.code.linkedinapi.client.LinkedInApiClientException: java.lang.IllegalArgumentException: MOBILE

or

com.google.code.linkedinapi.client.LinkedInApiClientException: java.lang.IllegalArgumentException: SKYPE

Below is stack trace:

com.google.code.linkedinapi.client.LinkedInApiClientException: java.lang.IllegalArgumentException: MOBILE
10-18 11:35:23.166: W/System.err(5813):     at com.google.code.linkedinapi.client.impl.LinkedInApiXppClient.unmarshallObject(LinkedInApiXppClient.java:119)
10-18 11:35:23.166: W/System.err(5813):     at com.google.code.linkedinapi.client.impl.BaseLinkedInApiClient.readResponse(BaseLinkedInApiClient.java:1905)
10-18 11:35:23.166: W/System.err(5813):     at com.google.code.linkedinapi.client.impl.BaseLinkedInApiClient.getUserUpdates(BaseLinkedInApiClient.java:920)
10-18 11:35:23.166: W/System.err(5813):     at com.tekriti.ice.util.LinkedinUtil.getUserUpdate(LinkedinUtil.java:205)
10-18 11:35:23.166: W/System.err(5813):     at com.tekriti.ice.util.SocialUtil.getAllSocialData(SocialUtil.java:534)
10-18 11:35:23.166: W/System.err(5813):     at com.tekriti.ice.util.SocialUtil$UpdateData.doInBackground(SocialUtil.java:648)
10-18 11:35:23.174: W/System.err(5813):     at com.tekriti.ice.util.SocialUtil$UpdateData.doInBackground(SocialUtil.java:1)
10-18 11:35:23.174: W/System.err(5813):     at android.os.AsyncTask$2.call(AsyncTask.java:264)
10-18 11:35:23.174: W/System.err(5813):     at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
10-18 11:35:23.174: W/System.err(5813):     at java.util.concurrent.FutureTask.run(FutureTask.java:137)
10-18 11:35:23.174: W/System.err(5813):     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1076)
10-18 11:35:23.174: W/System.err(5813):     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:569)
10-18 11:35:23.174: W/System.err(5813):     at java.lang.Thread.run(Thread.java:856)
10-18 11:35:23.174: W/System.err(5813): Caused by: java.lang.IllegalArgumentException: MOBILE
10-18 11:35:23.174: W/System.err(5813):     at com.google.code.linkedinapi.schema.PhoneType.fromValue(PhoneType.java:58)
10-18 11:35:23.174: W/System.err(5813):     at com.google.code.linkedinapi.schema.xpp.PhoneNumberImpl.init(PhoneNumberImpl.java:64)
10-18 11:35:23.174: W/System.err(5813):     at com.google.code.linkedinapi.schema.xpp.PhoneNumbersImpl.init(PhoneNumbersImpl.java:66)
10-18 11:35:23.174: W/System.err(5813):     at com.google.code.linkedinapi.schema.xpp.PersonImpl.init(PersonImpl.java:595)
10-18 11:35:23.174: W/System.err(5813):     at com.google.code.linkedinapi.schema.xpp.UpdateContentImpl.init(UpdateContentImpl.java:128)
10-18 11:35:23.174: W/System.err(5813):     at com.google.code.linkedinapi.schema.xpp.UpdateImpl.init(UpdateImpl.java:155)
10-18 11:35:23.174: W/System.err(5813):     at com.google.code.linkedinapi.schema.xpp.UpdatesImpl.init(UpdatesImpl.java:89)
10-18 11:35:23.174: W/System.err(5813):     at com.google.code.linkedinapi.schema.xpp.NetworkImpl.init(NetworkImpl.java:71)
10-18 11:35:23.174: W/System.err(5813):     at com.google.code.linkedinapi.client.impl.LinkedInApiXppClient.unmarshallObject(LinkedInApiXppClient.java:115)
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T09:24:19+00:00Added an answer on June 17, 2026 at 9:24 am

    Error got resolved after creating a new API key on LinkedIn.
    New API creation follow the scope to use user data.
    See below link for more details
    http://developer.linkedin.com/documents/authentication

    So you need to add scope parameter in your authentication request like

    https://api.linkedin.com/uas/oauth/requestToken?scope=r_basicprofile+r_emailaddress

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using linkedin api for android linkedin-j-android.jar. Through this i can login to
Im using linkedin's JS api to get some user profile information. I have this
quick question: i'm using the linkedin gem to pull user data, but my app
I am using LinkedIn API. I have done all process to retrieve access token.
I am using linkedin api to get info about the logged in user. I
I'm using LinkedIn OAuth in my Android app. I've an LinkedIn application, consumer key
I've been using Fancybox for years, but it seems things have changed with some
I AM trying to Integrate LinkedIn with android. Using tutorials I have applied following
I am using Linkedin iphone SDK https://github.com/ResultsDirect/LinkedIn-iPhone It was working fine But from this
I have to do LinkedIn integration in my Android app. I have done integration

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.