Skip to content
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

Mobile: A non-serializable value was detected in the state #4789

Open
compojoom opened this issue Jan 17, 2025 · 0 comments
Open

Mobile: A non-serializable value was detected in the state #4789

compojoom opened this issue Jan 17, 2025 · 0 comments
Labels
Mobile Anything related to the iOS or Android apps

Comments

@compojoom
Copy link
Contributor

Bug description

We need to introduce a general approach to displaying network errors.

A non-serializable value was detected in an action, in the path: `payload`. Value: [TypeError: Network request failed]
Take a look at the logic that dispatched this action:  {"error": {"message": "Rejected"}, "meta": {"RTK_autoBatch": true, "aborted": false, "arg": {"endpointName": "getChainsConfig", "forceRefetch": undefined, "originalArgs": undefined, "queryCacheKey": "getChainsConfig(undefined)", "subscribe": true, "subscriptionOptions": undefined, "type": "query", Symbol(forceQueryFn): undefined}, "baseQueryMeta": undefined, "condition": false, "rejectedWithValue": true, "requestId": "LIgRENvnYHOMJ6jBvfE2p", "requestStatus": "rejected"}, "payload": [TypeError: Network request failed], "type": "api/executeQuery/rejected"}
(See https://redux.js.org/faq/actions#why-should-type-be-a-string-or-at-least-serializable-why-should-my-action-types-be-constants)

Environment

Mobile

Steps to reproduce

Disable your internet connection and try to access the home screen, you will be greated by.

Screenshots

Image

@compojoom compojoom added bug Mobile Anything related to the iOS or Android apps labels Jan 17, 2025
@katspaugh katspaugh removed the bug label Jan 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Mobile Anything related to the iOS or Android apps
Projects
None yet
Development

No branches or pull requests

2 participants