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

TypeError: Cannot convert undefined value to object #13176

Closed
sentry-io bot opened this issue Jan 24, 2025 · 1 comment · Fixed by #13199
Closed

TypeError: Cannot convert undefined value to object #13176

sentry-io bot opened this issue Jan 24, 2025 · 1 comment · Fixed by #13199
Assignees
Labels
area-Sentry Issue from Sentry regression-prod-7.38.1 Regression bug that was found in production in release 7.38.1 release-7.40.0 Issue or pull request that will be included in release 7.40.0 release-blocker This bug is blocking the next release Sev2-normal An issue that may lead to users misunderstanding some limited risks they are taking team-assets type-bug Something isn't working

Comments

@sentry-io
Copy link

sentry-io bot commented Jan 24, 2025

Sentry Issue: METAMASK-MOBILE-3ASC

TypeError: Cannot convert undefined value to object
  at Token (app/components/Views/DetectedTokens/components/Token.tsx:117:31)
...
(12 additional frame(s) were not displayed)

A user has just installed the MetaMask app v7.38.1 on the OPPO A98, Android 14, and Redmi Note 12, Android version 13, and is getting this error message: View: Root TypeError: Cannot convert undefined value to object.
The user cannot import USDT or perform transactions on the BSC network. He also reinstalled the app multiple times without success.

This error comes up in logs, which might be related to the issue.
throw new TypeError('The \"string\" argument must be of type string. Received type number');return f(e)}return c(e,t,r)}function c(e,t,r){if(\"string\"==typeof e)return function(e,t){\"string\"==typeof t&&\"\"!==t||(t=\"utf8\");if(!u.isEncoding

@sentry-io sentry-io bot added the area-Sentry Issue from Sentry label Jan 24, 2025
@joaoloureirop joaoloureirop added the type-bug Something isn't working label Jan 24, 2025
@github-project-automation github-project-automation bot moved this to To be fixed in Bugs by severity Jan 24, 2025
@github-project-automation github-project-automation bot moved this to To be fixed in Bugs by team Jan 24, 2025
@joaoloureirop joaoloureirop added Sev2-normal An issue that may lead to users misunderstanding some limited risks they are taking team-assets release-blocker This bug is blocking the next release regression-prod-7.38.1 Regression bug that was found in production in release 7.38.1 labels Jan 24, 2025
Copy link
Author

sentry-io bot commented Jan 24, 2025

Sentry Issue: METAMASK-MOBILE-3AJG

@salimtb salimtb self-assigned this Jan 27, 2025
github-merge-queue bot pushed a commit that referenced this issue Jan 27, 2025
<!--
Please submit this PR as a draft initially.
Do not mark it as "Ready for review" until the template has been
completely filled out, and PR status checks have passed at least once.
-->

## **Description**

<!--
Write a short description of the changes included in this pull request,
also include relevant motivation and context. Have in mind the following
questions:
1. What is the reason for the change?
2. What is the improvement/solution?
-->

## **Related issues**

Fixes: #13176 

## **Manual testing steps**

1. Go to this page...
2.
3.

## **Screenshots/Recordings**

<!-- If applicable, add screenshots and/or recordings to visualize the
before and after of your change. -->

### **Before**

<!-- [screenshots/recordings] -->

### **After**

<!-- [screenshots/recordings] -->

## **Pre-merge author checklist**

- [ ] I’ve followed [MetaMask Contributor
Docs](https://github.com/MetaMask/contributor-docs) and [MetaMask Mobile
Coding
Standards](https://github.com/MetaMask/metamask-mobile/blob/main/.github/guidelines/CODING_GUIDELINES.md).
- [ ] I've completed the PR template to the best of my ability
- [ ] I’ve included tests if applicable
- [ ] I’ve documented my code using [JSDoc](https://jsdoc.app/) format
if applicable
- [ ] I’ve applied the right labels on the PR (see [labeling
guidelines](https://github.com/MetaMask/metamask-mobile/blob/main/.github/guidelines/LABELING_GUIDELINES.md)).
Not required for external contributors.

## **Pre-merge reviewer checklist**

- [ ] I've manually tested the PR (e.g. pull and build branch, run the
app, test code being changed).
- [ ] I confirm that this PR addresses all acceptance criteria described
in the ticket it closes and includes the necessary testing evidence such
as recordings and or screenshots.
@github-project-automation github-project-automation bot moved this from To be fixed to Fixed in Bugs by team Jan 27, 2025
@metamaskbot metamaskbot added the release-7.40.0 Issue or pull request that will be included in release 7.40.0 label Jan 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-Sentry Issue from Sentry regression-prod-7.38.1 Regression bug that was found in production in release 7.38.1 release-7.40.0 Issue or pull request that will be included in release 7.40.0 release-blocker This bug is blocking the next release Sev2-normal An issue that may lead to users misunderstanding some limited risks they are taking team-assets type-bug Something isn't working
Projects
Archived in project
Status: Fixed
Development

Successfully merging a pull request may close this issue.

3 participants