Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get Profile and Connections by URL throws bad request error. #1

Closed
GoogleCodeExporter opened this issue Jan 30, 2016 · 2 comments
Closed

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Try to access a profile on the connections of a user by url.

Instead of returning the profile or connections it throws the exception:
Caused by: java.io.IOException: Server returned HTTP response code: 400 for
URL:
http://api.linkedin.com/v1/people/url=http%3A%2F%2Fpk.linkedin.com%2Fin%2Fmonisi
qbal
    at
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.jav
a:1241)
    at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:373)
    ... 4 more

This has also been posted on the LinkedIn API forum:
http://developer.linkedin.com/thread/1264

Original issue reported on code.google.com by nabeelmukhtar on 8 Dec 2009 at 11:52

@GoogleCodeExporter
Copy link
Author

Original comment by nabeelmukhtar on 8 Dec 2009 at 11:53

  • Added labels: Priority-High

@GoogleCodeExporter
Copy link
Author

Turned out to be a non issue. I was providing a wrong url. The url must be in 
the
format http://www.linkedin.com/pub/[member-name/]x/y/z.

Original comment by nabeelmukhtar on 10 Dec 2009 at 3:53

  • Changed state: Invalid

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant