-
Notifications
You must be signed in to change notification settings - Fork 71
User Profile Full : error org.springframework.social.UncategorizedApiException #72
Comments
@habuma I found the issue causing this... This is a working call (I removed I have no idea why... the field is still listed in the list of fields for basic-profile: https://developer.linkedin.com/docs/fields/basic-profile |
btw. just to get it work again, I did a custom build for us. The only change I made was this: yooture@b2cdc94 |
Thank you! I need a suggestion! |
a fix by the maintainers of this library would be the perfect solution, but unfortunate spring-social-linkedin seems not to have a lot of love lately... |
Hi all,
I'm using the version 1.0.2.RELEASE of this library and in the last days when I call the API
linkedin.profileOperations().getUserProfileFull()
I got this error :
ERROR [com.fluttr.site.controllers.signin.SigninControllerWebSite] (default task-26) Throwable full profile: org.springframework.social.UncategorizedApiException: at org.springframework.social.linkedin.api.impl.LinkedInErrorHandler.handleUncategorizedError(LinkedInErrorHandler.java:62) [spring-social-linkedin-1.0.2.RELEASE.jar:1.0.2.RELEASE] at org.springframework.social.linkedin.api.impl.LinkedInErrorHandler.handleError(LinkedInErrorHandler.java:55) [spring-social-linkedin-1.0.2.RELEASE.jar:1.0.2.RELEASE] at org.springframework.web.client.RestTemplate.handleResponse(RestTemplate.java:616) [spring-web-4.1.9.RELEASE.jar:4.1.9.RELEASE] at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:572) [spring-web-4.1.9.RELEASE.jar:4.1.9.RELEASE] at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:547) [spring-web-4.1.9.RELEASE.jar:4.1.9.RELEASE] at org.springframework.web.client.RestTemplate.getForObject(RestTemplate.java:255) [spring-web-4.1.9.RELEASE.jar:4.1.9.RELEASE] at org.springframework.social.linkedin.api.impl.ProfileTemplate.getUserProfile(ProfileTemplate.java:123) [spring-social-linkedin-1.0.2.RELEASE.jar:1.0.2.RELEASE] at org.springframework.social.linkedin.api.impl.ProfileTemplate.getUserProfileFull(ProfileTemplate.java:92) [spring-social-linkedin-1.0.2.RELEASE.jar:1.0.2.RELEASE]
Maybe something in the Linkedin Api has been changed, I want to know if there is any way to avoid this kind of errors during response parsing.
Thank you
The text was updated successfully, but these errors were encountered: