temporarily_unavailable on linkedin servers

北慕城南 提交于 2020-01-03 05:47:14

问题


I am new to work with linkedin programming and try to get some user data, however I can't get further than https://www.linkedin.com/uas/oauth2/accessToken where I get this response the whole time:

{"error":"temporarily_unavailable","error_description":"the authorization server is currently unable to handle the request : RestException{_response=RestResponse[headers={X-LinkedIn-Error-Response=true, Content-Length=6936, X-Restli-Protocol-Version=1.0.0, Server=Jetty(8.1.8.v20121106)},status=404,entityLength=6936]} "}

I am using the following url with parameters:

https://www.linkedin.com/uas/oauth2/accessToken?grant_type=authorization_code&code=AQR4LKsR8tswI4o-Ej0bE6vg1fhAZntPuT26CFMFEhZZh7zFkLM7PyxRRp5XEzZ-Y45vIBwZam8zDncMECldDrCSJI8WKNlxrR5gsAcxmkga0ZzIM38&redirect_uri=http://localhost:30731/redirect.aspx&client_id=OAuth User Token&client_secret=OAuth User Secret

The error I get within C# is that the server is unavailble which corresponds with the JSON message.

Anybody does know the solution or has the same error or a solution on this?


回答1:


temporarily_unavailable is an error code defined in RFC 6749 (OAuth 2.0). For this error code, all you can do is just wait for the authorization server to come back to its normal state.

If the authorization server always returns temporarily_unavailable, there must be a bug in the implementation of the authorization server.



来源:https://stackoverflow.com/questions/24343070/temporarily-unavailable-on-linkedin-servers

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!