question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

{"errorCode": "others"} and undefined errorDescription

See original GitHub issue

Discussed in https://github.com/react-native-image-picker/react-native-image-picker/discussions/1993

<div type='discussions-op-text'>

Originally posted by PDipendra June 22, 2022 Works fine in android simulator and device, but throw {“errorCode”: “others”} and empty errorDescription in iOS 14.5 and 15.5.

await launchImageLibrary(
        {
          mediaType: 'video',
        },
        response => {
          console.log(response);
          }
      );
```</div>

Issue Analytics

  • State:open
  • Created a year ago
  • Reactions:11
  • Comments:9

github_iconTop GitHub Comments

2reactions
camsjamscommented, Jul 28, 2022

This appears to only be an issue on iOS simulator, and also probably only on M1 Macs, related to this issue: https://github.com/react-native-image-picker/react-native-image-picker/issues/1999

However, using an iOS hardware device via Xcode when running with local RN apps does allow video uploads, so is most likely just a symptom of iOS Simulator + M1 Macs

1reaction
ArturoTorresMartinezcommented, Nov 25, 2022

Also, now that I tested even more, I realized this is easily replicable if you take 2 photos with one of them being “RAW”.

The non-RAW photo will be picked up normally and the RAW one will throw the error described above.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Microsoft teams application will no longer login.
I currently am working remotely and we use teams to communicate within our office. Teams has given intermittent troubles.
Read more >
labview undefined error code message on custom codes
Solved: I am using the general error handler VI to define custom errors,I have inserted all the inputs for this vi(user defined descriptions ......
Read more >
API Common Exceptions and Tips for Handling - ADP
Error Description. Exception Condition. Response ... Indicates the scope for this service is invalid or undefined. An Invalid URI is being used in...
Read more >
JavaScript policy runtime error troubleshooting | Apigee Edge
Error code; Error response body; Types of Errors and possible causes ... error occurred is 2 and the error description is Date is...
Read more >
Azure AD device registration error codes - Sergii's Blog
Other way to configure correct claim rules for your Office 365 ... See the next error description for the recommended troubleshooting steps.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found