问题描述, token过期时间是valid_time=2018-11-19 13:48:23 通过apirefresh_token报错40006没有权限操作,有人碰到吗?
我查看了全局错误码说是需要重新授权, 这个重新授权是因为什么导致的?
报错如下::
当前Token已经过期
{"error_description":"没有权限操作","error":"40006"}
java.lang.RuntimeException: {"error_description":"没有权限操作","error":"40006"}
at TokenServiceUtils.getNewToken(TokenServiceUtils.java:274)
at TokenServiceUtils.refreshToken(TokenServiceUtils.java:177)
at TokenServiceUtils.isPast(TokenServiceUtils.java:292)
at TokenServiceUtils.getTokenMap(TokenServiceUtils.java:103)
at TokenServiceUtils.getToken(TokenServiceUtils.java:142)
at YouzanDataService.getFansViaTime(YouzanDataService.java:53)
at TestToken.testFansViaTime(TestToken.java:95)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
at org.junit.runner.JUnitCore.run(JUnitCore.java:157)
at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47)
at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242)
at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)
本帖最后由 3dabffd84b32 于 2018-11-21 13:58 编辑
|
|
用手机打开
收藏
赞 0
···
回复
|
|
|
|