New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
unauthorised and session expired #27
Comments
I have exactly the same error |
I also have the same problem. |
I have the same problem, did you find a solution? |
I found the solution for this problem. |
Thank you very much @Seungkoo, it works. |
Thank you very much, it works fine @Seungkoo . |
works for me as well. |
Does anyone know if there is a way to prevent this from happening again with new updates? Thank you. |
probably someone from thingsboard team has to take a pick and change the version on the pubsepec file may be... probably not sure how the development process is in thingsboard. |
thanks @Seungkoo its working fine !! but how come you know this ? |
I am getting below error saying unauthorized for the first time and later session expired. I am providing right credentials.
I/flutter ( 4917): ERROR ┌───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
I/flutter ( 4917): ERROR │ ThingsboardError: message: [Unauthorized!], errorCode: null, status: null
I/flutter ( 4917): ERROR │ #0 toThingsboardError (package:thingsboard_pe_client/src/error/_thingsboard_error_handler_io.dart:89:18)
I/flutter ( 4917): ERROR │ #1 HttpInterceptor.onError (package:thingsboard_pe_client/src/interceptor/http_interceptor.dart:104:19)
I/flutter ( 4917): ERROR │ #2 DioMixin.fetch._errorInterceptorWrapper... (package:dio/src/dio_mixin.dart:574:28)
I/flutter ( 4917): ERROR │ #3 DioMixin.checkIfNeedEnqueue (package:dio/src/dio_mixin.dart:789:22)
I/flutter ( 4917): ERROR │ #4 DioMixin.fetch._errorInterceptorWrapper.. (package:dio/src/dio_mixin.dart:572:22)
I/flutter ( 4917): ERROR │ #5 new Future. (dart:async/future.dart:253:37)
I/flutter ( 4917): ERROR │ #6 Timer._createTimer. (dart:async-patch/timer_patch.dart:18:15)
I/flutter ( 4917): ERROR │ #7 _Timer._runTimers (dart:isolate-patch/timer_impl.dart:398:19)
I/flutter ( 4917): ERROR │ #8 _Timer._handleMessage (dart:isolate-patch/timer_impl.dart:429:5)
I/flutter ( 4917): ERROR │ #9 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:192:12)
I/flutter ( 4917): ERROR │
I/flutter ( 4917): ERROR
The text was updated successfully, but these errors were encountered: