Open Musicpac opened 4 years ago
Yes, this happened a lot. I think we fixed it in https://github.com/hpi-schul-cloud/schulcloud-flutter/pull/334 – and an even more comprehensive PR for error handling is in the works at https://github.com/hpi-schul-cloud/schulcloud-flutter/pull/337. Either way, I might be wrong, so be sure to check if the error still persists with the version from https://github.com/hpi-schul-cloud/schulcloud-flutter/tree/handle-errors-better.
The error got kinda solved. now the problem changed to a ressources not found and the session being invalid. Does my account need to be validated?
Currently, you are signed out automatically after two hours of inactivity. This is a limitation of the server, but will hopefully be changed soon. If you see such an error, you'll have to sign out via the banner at the top or via the account dialog, and then sign back in.
As a brief background on the FormatException
s you reported initially: Many of the server's API routes are temporarily blocked. Hence we cannot currently access assignments or users, for example. This is a temporary server limitation as well, but the backend team is actively working on unlocking these routes. The PRs mentioned by @marcelgarus just change the appearance of these errors.
After installing the app I was not able to find any functionality in it. I was able to login to the brandenburg schulcloud but non of the contents could be displayed. The pink screens are everywhere. The main error displayed is "FormatException: Unexpected end of input(at character 1). If you try to go to your profile the error displays a JsonParserfail.