[amplify_auth_cognito] type 'FetchAuthSessionFetching' is not a subtype of type 'FetchAuthSessionSuccess' in type cast #4635
Labels
auth
Issues related to the Auth Category
pending-close-response-required
The issue will be closed if details necessary to reproduce the issue are not provided within 7 days.
pending-response
Issue is pending response from the issue requestor
Description
An error
type 'FetchAuthSessionFetching' is not a subtype of type 'FetchAuthSessionSuccess' in type cast
occurs after callingAmplify.Auth.fetchAuthSession()
.This is the stacktrace reported to Sentry.
![image](https://private-user-images.githubusercontent.com/5352478/318622315-de41f7e0-9371-4c60-b198-5f865911d628.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjE5NDY1NDEsIm5iZiI6MTcyMTk0NjI0MSwicGF0aCI6Ii81MzUyNDc4LzMxODYyMjMxNS1kZTQxZjdlMC05MzcxLTRjNjAtYjE5OC01Zjg2NTkxMWQ2MjgucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDcyNSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA3MjVUMjIyNDAxWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ODRjODcxOWQxOWEzYzA5NzQwYzk4ZjA1NWJlNzdlZjU3MmY2OTkzZDJkODM3Zjg4MzliY2I1MTI4NGRmMzM4MSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.tcQdZNr2im8f8N500j3EwtbOVOl4mutPtlkgWYAHhCA)
Categories
Steps to Reproduce
We have not been able to reproduce it, but it is occurring at our distribution environments.
Screenshots
No response
Platforms
Flutter Version
3.19.3
Amplify Flutter Version
1.7.0
Deployment Method
Custom Pipeline
Schema
No response
The text was updated successfully, but these errors were encountered: