在linkedin服务器上暂时不可用 [英] temporarily_unavailable on linkedin servers
问题描述
我刚开始使用linkedin编程并尝试获取一些用户数据,但是除了 https://www.linkedin.com/uas/oauth2/accessToken ,我一直在这里得到以下响应:
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:
{错误":临时不可用",错误描述":授权服务器当前无法处理该请求: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]}}
{"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 用户令牌& client_secret = OAuth用户密码
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
我在C#中遇到的错误是服务器不可用,与JSON消息相对应.
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?
推荐答案
temporarily_unavailable
是在 RFC 6749 (OAuth 2.0).对于该错误代码,您所能做的就是等待授权服务器恢复到正常状态.
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.
如果授权服务器始终返回temporarily_unavailable
,则授权服务器的实现中肯定存在错误.
If the authorization server always returns temporarily_unavailable
, there must be a bug in the implementation of the authorization server.
这篇关于在linkedin服务器上暂时不可用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!