-
Couldn't load subscription status.
- Fork 7
Description
Hello,
I encountered an issue when trying to authenticate using the admin API key. The application throws an Uncaught FormatException with the message "SyntaxError: Unexpected token 'U', "Unauthorized" is not valid JSON". This happens when the API response is not in JSON format but a plain text error message.
Error Stack Trace:
main.dart.js:3818 Uncaught FormatException: SyntaxError: Unexpected token 'U', "Unauthorized" is not valid JSON
at Object.c (https://s5.daltek.tech/s5/admin/app/main.dart.js:3818:19)
at Object.afS (https://s5.daltek.tech/s5/admin/app/main.dart.js:5787:9)
at a_S.r_ (https://s5.daltek.tech/s5/admin/app/main.dart.js:36559:19)
at https://s5.daltek.tech/s5/admin/app/main.dart.js:76002:20
at afY.a (https://s5.daltek.tech/s5/admin/app/main.dart.js:5148:63)
at afY.$2 (https://s5.daltek.tech/s5/admin/app/main.dart.js:34658:14)
at aff.$1 (https://s5.daltek.tech/s5/admin/app/main.dart.js:34652:21)
at adi.aga (https://s5.daltek.tech/s5/admin/app/main.dart.js:35324:34)
at adi.Fn (https://s5.daltek.tech/s5/admin/app/main.dart.js:35326:21)
at aaN.$0 (https://s5.daltek.tech/s5/admin/app/main.dart.js:34944:11)