maxmielchen / untiscalendar

UntisCalendar is a software written in Kotlin that host's your Untis Timetable via iCal and you can use it in your Google Calendar or Microsoft Outlook
Apache License 2.0
8 stars 1 forks source link

no right for getTeachers() #26

Open maxmielchen opened 1 month ago

maxmielchen commented 1 month ago
2024-09-20 15:21:01.472 [eventLoopGroupProxy-4-2] ERROR ktor.application - Unhandled: GET - /ical
java.util.concurrent.CompletionException: java.net.ConnectException: An unexpected exception occurred: {"jsonrpc":"2.0","id":"ID","error":{"message":"no right for getTeachers()","code":-8509}}
    at com.github.benmanes.caffeine.cache.LocalLoadingCache.lambda$newMappingFunction$3(LocalLoadingCache.java:190)
    at com.github.benmanes.caffeine.cache.BoundedLocalCache.lambda$doComputeIfAbsent$14(BoundedLocalCache.java:2685)
    at java.base/java.util.concurrent.ConcurrentHashMap.compute(ConcurrentHashMap.java:1916)
    at com.github.benmanes.caffeine.cache.BoundedLocalCache.doComputeIfAbsent(BoundedLocalCache.java:2683)
    at com.github.benmanes.caffeine.cache.BoundedLocalCache.computeIfAbsent(BoundedLocalCache.java:2666)
    at com.github.benmanes.caffeine.cache.LocalCache.computeIfAbsent(LocalCache.java:112)
    at com.github.benmanes.caffeine.cache.LocalLoadingCache.get(LocalLoadingCache.java:58)
    at org.bytedream.untis4j.RequestManager.CachedPOST(RequestManager.java:143)
    at org.bytedream.untis4j.Session.requestSender(Session.java:151)
    at org.bytedream.untis4j.Session.requestSender(Session.java:135)
    at org.bytedream.untis4j.Session.getTeachers(Session.java:597)
    at org.bytedream.untis4j.Session.lambda$getTimetable$15(Session.java:747)
    at org.bytedream.untis4j.Session.requestSender(Session.java:151)
    at org.bytedream.untis4j.Session.getTimetable(Session.java:735)
    at org.bytedream.untis4j.Session.getTimetableFromPersonId(Session.java:974)
    at io.mielchen.max.untiscalendar.app.TimetableKt.getUserSpecificTable(Timetable.kt:9)
    at io.mielchen.max.untiscalendar.app.AppKt$module$2$1.invokeSuspend(App.kt:29)