You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
qq返回信息:
无法同步课程。原因:kotlinx.serialization.MissingFieldException: Fields [title, message] are required for type with serial name 'me.stageguard.sctimetable.api.edu_system.super.ErrorCourseReceiptDTO', but they were missing
测试了几个其他大学,可以正常获取到课程
日志:(qq号替换了)
2021-12-13 15:21:55 E/SuperCourseTimetable: RequestHandlerService: Failed to sync user 123456789's courses, reason: kotlinx.serialization.MissingFieldException: Fields [title, message] are required for type with serial name 'me.stageguard.sctimetable.api.edu_system.super.ErrorCourseReceiptDTO', but they were missing.
2021-12-13 15:21:55 V/Bot.123456789: Friend(123456789) <- 无法同步课程。原因:kotlinx.serialization.MissingFieldException: Fields [title, message] are required for type with serial name 'me.stageguard.sctimetable.api.edu_system.super.ErrorCourseReceiptDTO', but they were missing
2022-01-03 19:06:16 E/SuperCourseTimetable: RequestHandlerService: Failed to sync user 123456789's courses, reason: kotlinx.serialization.MissingFieldException: Fields [title, message] are required for type with serial name 'me.stageguard.sctimetable.api.edu_system.super.ErrorCourseReceiptDTO', but they were missing.
Activity
StageGuard commentedon Dec 27, 2021
应该是api查询失败后返回的信息无法反序列化,使用最近一次发版再运行查看错误信息
Logthm commentedon Jan 3, 2022
更新之后日志如下,似乎报错没变化:
(cookie和qq号改掉了)
2022-01-03 19:06:15 I/SuperCourseTimetable: RequestHandlerService: Handle Request: SyncCourseRequest(qq=123456789)
2022-01-03 19:06:15 V/Bot.123456789: Logs(123456789) -> 确认
2022-01-03 19:06:16 I/SuperCourseTimetable: RequestHandlerService: Handle Request: InternalSyncCourseRequestViaCookieData(qq=123456789,cookie=LoginCookieData(jSessionId=AAAAAAAAAAAAAAAAAAAAAAAAA-memcached1, serverId=9217963584572a0b5dfb2a5a7565ba75|1641207975|1641207975))
2022-01-03 19:06:16 E/SuperCourseTimetable: RequestHandlerService: Failed to sync user 123456789's courses, reason: kotlinx.serialization.MissingFieldException: Fields [title, message] are required for type with serial name 'me.stageguard.sctimetable.api.edu_system.super.ErrorCourseReceiptDTO', but they were missing.