Skip to content

Error: Calling the 'getRandomValues' function has failed #37

@harsh-mishra1-PSL

Description

@harsh-mishra1-PSL

Getting this error in sentry on production. It's related to getRandomBytes. For more info, please check below details.

Issue:

Calling the 'getRandomValues' function has failed
→ Caused by: The 1st argument cannot be cast to type TypedArray
→ Caused by: Given argument is not an instance of TypedArray


app:///main.jsbundle in getRandomBytes at line 1:2037995

app:///main.jsbundle in getRandomValues at line 1:2035975

app:///main.jsbundle in generateRandom at line 1:2036239

app:///main.jsbundle in AuthRequest at line 1:2032348

Device Info:

Architecture arm64
Battery Level 100%
Charging true
Family iOS
Free Memory 147.4 MiB
locale en_US
Memory Size 7.5 GiB
Model iPhone 16 Pro (D93AP)
Model Id D93AP
processor_count 6
Screen Height Pixels 852
Screen Resolution null
Screen Width Pixels 393
Simulator false
Usable Memory 5.2 GiB

React Native Info:

expo true
fabric false
hermes_debug_info false
hermes_version for RN 0.73.6
js_engine hermes
react_native_version 0.73.6
turbo_module false

Library info:

  "react-native-uuid": "^2.0.1",
  "uuid": "^9.0.0",

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions