cssxsh / bilibili-helper

Mirai Console 插件开发计划
https://github.com/users/cssxsh/projects/4
GNU Affero General Public License v3.0
144 stars 18 forks source link

B动态订阅失败,提示发生错误, 访问权限不足 #106

Closed Yuk-0v0 closed 1 year ago

Yuk-0v0 commented 1 year ago

配置环境

Plugins: Chat Command v0.5.0, ba-activity-pusher v1.0.14, QRLogin v0.1.7, mirai-selenium-plugin v2.3.0, mirai-api-http v2.9.1, bilibili-helper v1.7.1, MCL Addon v2.1.1

命令操作

/B动态 add 425535005

报错日志

2023-05-26 10:56:41 V/Bot.226xxx: 给点(646xxx) -> /B动态 add 425535005
2023-05-26 10:56:41 W/bilibili-helper: BiliApiException(data=TempData(code=-403, data=null, result=null, message=访问权限不足, ttl=1, msg=null), url=https://api.bilibili.com/x/space/wbi/acc/info?mid=425535005&jsonp=jsonp&tid=0)
BiliApiException(data=TempData(code=-403, data=null, result=null, message=访问权限不足, ttl=1, msg=null), url=https://api.bilibili.com/x/space/wbi/acc/info?mid=425535005&jsonp=jsonp&tid=0)
        at bilibili-helper-1.7.1.mirai2.jar//xyz.cssxsh.bilibili.api.UserKt$getUserInfo$$inlined$json$1$1.invokeSuspend(Api.kt:94)
        at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
        at bilibili-helper-1.7.1.mirai2.jar[private]//io.ktor.util.pipeline.SuspendFunctionGun.resumeRootWith(SuspendFunctionGun.kt:138)
        at bilibili-helper-1.7.1.mirai2.jar[private]//io.ktor.util.pipeline.SuspendFunctionGun.loop(SuspendFunctionGun.kt:112)
        at bilibili-helper-1.7.1.mirai2.jar[private]//io.ktor.util.pipeline.SuspendFunctionGun.access$loop(SuspendFunctionGun.kt:14)
        at bilibili-helper-1.7.1.mirai2.jar[private]//io.ktor.util.pipeline.SuspendFunctionGun$continuation$1.resumeWith(SuspendFunctionGun.kt:62)
        at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46)
        at bilibili-helper-1.7.1.mirai2.jar[private]//io.ktor.util.pipeline.SuspendFunctionGun.resumeRootWith(SuspendFunctionGun.kt:138)
        at bilibili-helper-1.7.1.mirai2.jar[private]//io.ktor.util.pipeline.SuspendFunctionGun.loop(SuspendFunctionGun.kt:112)
        at bilibili-helper-1.7.1.mirai2.jar[private]//io.ktor.util.pipeline.SuspendFunctionGun.access$loop(SuspendFunctionGun.kt:14)
        at bilibili-helper-1.7.1.mirai2.jar[private]//io.ktor.util.pipeline.SuspendFunctionGun$continuation$1.resumeWith(SuspendFunctionGun.kt:62)
        at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46)
        at bilibili-helper-1.7.1.mirai2.jar[private]//io.ktor.util.pipeline.SuspendFunctionGun.resumeRootWith(SuspendFunctionGun.kt:138)
        at bilibili-helper-1.7.1.mirai2.jar[private]//io.ktor.util.pipeline.SuspendFunctionGun.loop(SuspendFunctionGun.kt:112)
        at bilibili-helper-1.7.1.mirai2.jar[private]//io.ktor.util.pipeline.SuspendFunctionGun.access$loop(SuspendFunctionGun.kt:14)
        at bilibili-helper-1.7.1.mirai2.jar[private]//io.ktor.util.pipeline.SuspendFunctionGun$continuation$1.resumeWith(SuspendFunctionGun.kt:62)
        at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46)
        at bilibili-helper-1.7.1.mirai2.jar[private]//io.ktor.util.pipeline.SuspendFunctionGun.resumeRootWith(SuspendFunctionGun.kt:138)
        at bilibili-helper-1.7.1.mirai2.jar[private]//io.ktor.util.pipeline.SuspendFunctionGun.loop(SuspendFunctionGun.kt:112)
        at bilibili-helper-1.7.1.mirai2.jar[private]//io.ktor.util.pipeline.SuspendFunctionGun.access$loop(SuspendFunctionGun.kt:14)
        at bilibili-helper-1.7.1.mirai2.jar[private]//io.ktor.util.pipeline.SuspendFunctionGun$continuation$1.resumeWith(SuspendFunctionGun.kt:62)
        at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46)
        at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
        at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570)
        at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
        at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677)
        at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664)

2023-05-26 10:56:42 V/Bot.226xxx: Friend(646xxx) <- 发生错误, 访问权限不足 in https://api.bilibili.com/x/space/wbi/acc/info?mid=425535005&jsonp=jsonp&tid=0
cssxsh commented 1 year ago

https://github.com/cssxsh/bilibili-helper/issues/105